How does the Semaphore class of the concurrent package support synchronization between threads?

How does the Semaphore class of the concurrent package support synchronization between threads?



Answer: Restricts the number of threads that can access a resource


Learn More :

Multithreading and Concurrent Processing

Learn More Multiple Choice Question :