Java Design Patterns Question:

Download Job Interview Questions and Answers PDF

Explain about semaphores?

Java Patterns Interview Question
Java Patterns Interview Question

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?