Object-Oriented Programming · SoFi · Medium
Problem: Design and Implement an Extensible Multi-threaded Task Executor (Semaphore-based) You are given a Java TaskExecutor skeleton. Complete it as a multi-threaded task executor built around Semaphore and any other concurrency utilities that are appropriate. The design should follow sound OOD/OOP practices so that it remains easy to maintain and extend. 1) Task Abstraction Assume the system will support several kinds of tasks that share a common contract, such as:…
Checking your access…