wait(), notify(), notifyAll(). These three methods required in multithreading. Then Why they belongs to Object class not in Thread class. Please explain this one.
wait(), notify(), notifyAll(). These three methods required in multithreading. Then Why they belongs to Object class not in Thread class. Please explain this one.