Answers

Question and Answer:

  Home  Java Developer

⟩ What happens when a thread cannot acquire lock on an object in Java Programming?

If a thread attempts to execute a synchronized method or synchronized statement and is unable to acquire an object's lock, it enters the waiting state until the lock becomes available.

 186 views

More Questions for you: