why wait(), notify(), notifyal() methods ,,in Object class
posted 10 years ago
I have doubt regading wait(), and notify(), and notifyall() methods this methods is useful only threads. why this methods give in the object class,insted of giveing Thread class. only sleep() method is given in Thread class.
What is the reason...for all this methods, I would be very thankfull to given this answer