Java Interview Questions and Answers

 

What is the purpose of the wait(), notify(), and notifyAll() methods in Java Programming?

The wait(),notify(), and notifyAll() methods are used to provide an efficient way
for threads to communicate each other in Java Programming.

Posted by:Richards