Originally posted by saikrishna cinux: hi, why these 3 methods wait() notify() notifyall methods are declared in Object class? these methods are already implemented in Thread class? any best answer??? thanks in advance
Originally posted by Srikanth Basavaraju: You did not get the essence of "Object" locking Go through the API carefully and I hope that should help http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()
any way please tell me why they have imlemented these methods in object class and then overrided in Thread class?
what is the use of implementing these methods in object class only why not in any other class???