Java Design Patterns Question:
Download Questions PDF

Explain about semaphores?

Answer:

They are mostly used as concurrency control constructs. They adhere and support Sync interface and conform to acquire release protocol. It adheres to a set of permits initialized in a constructor. A semaphore can also be described on the basis of a metaphor.

Download Java Patterns Interview Questions And Answers PDF

Previous QuestionNext Question
Explain about locks?Explain about Template method?