Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of the Lock interface in Java?
Answer: Lock interface provides a more flexible and sophisticated way to control access to shared resources compared to the traditional synchronized keyword.
Is it helpful? Yes No

Most helpful rated by users:

©2026 WithoutBook