Why Wait and Notify is in Object Class in Java
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 12017
Total Votes: 135 votes
Category: JAVA/Core JAVA
Submitted on: 2012-02-12 04:23:08
Submitted By: Javin Paul
Description:Wait and notify method are used to put thread on wait but they are not in Thread class alongwith Sleep() or Join() method instead they are declared in Object class. This article has few reasons which make sense on Why Wait and Notify is in Object Class in Java More detail...