This discussion is archived
2 Replies Latest reply: Jun 14, 2007 1:42 AM by 796440 RSS

wait(),notify() and notifyAll() are in Object class

807605 Newbie
Currently Being Moderated
HI ,
I have some doubt regarding on Multithreading in java.why wait() , notify() and notifyAll() methods are in Object class not in Thread class.Can anybody please try to explain me why this type of implementations have done?