InterviewSolution
Saved Bookmarks
| 1. |
What is the lock interface? Why is it better to use a lock interface rather than a synchronized block.? |
|
Answer» Lock interface was introduced in Java 1.5 and is generally used as a synchronization mechanism to provide important OPERATIONS for BLOCKING.
|
|