Re: Why wait(),notify() and notifyall() in Object class in java
Posted By:
WarnerJan_Veldhuis
Posted On:
Sunday, May 13, 2007 05:33 PM
Because it belongs to the behaviour of an object and not of t a thread. A thread may access an object, or wait until another object is done.