Wait , notify and notifyAll is one of the very much required object class methods required for inter Thread communication.
wait () method is responsible of releasing the lock on shared resources where as on the other side notify () and notifyAll () methods are responsible for notify the waited Threads to start consuming the lock again.
Comments