What is difference between notify and notifyall?
Utilisateur anonyme
Notify()/NotifyAll() is used to notify the objects which are in wait() mode so that they can again return back to the runnable mode. Notify() will inform the object to wakes up the current suspended thread. NotifyAll() will inform the object to wake up all the suspended threads