Computer Science, asked by shubhamkhandare029, 1 month ago

in JAVA Synchronized methods, Java provides wait() and notify( constructs. This is the example of​

Answers

Answered by prajapatiparth1002
1

Answer:

The wait() method causes the current thread to wait until another thread invokes the notify() or notifyAll() methods for that object. The notify() method wakes up a single thread that is waiting on that object's monitor. The notifyAll() method wakes up all threads that are waiting on that object's monitor

Similar questions