Why Wait and Notify is in Object Class in Java
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 5561
Total Votes: 22 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...