Why Wait and Notify is in Object Class in Java
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Why Wait and Notify is in Object Class in Java
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 inhttp://javarevisited.blogspot.com/2012/02/why-wait-notify-and-notifyall-is.html
Total Hits: 5497
Total Votes: 21 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...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 19.05% |
4 |
![]() ![]() |
![]() ![]() 9.52% |
2 |
![]() ![]() ![]() |
![]() ![]() 9.52% |
2 |
![]() ![]() ![]() ![]() |
![]() ![]() 9.52% |
2 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 38.1% |
8 |





19.05%

9.52%

9.52%

9.52%

38.1%