why the wait,notify,notifyall methods are placed in object
class?these are the thread concepts why these methods are
placed in Object class?
Answer Posted / subhareddy
wait ,notify,notifyall are the methods defined in object
class because we call them on object not on threads.so they
are defined in object class.
| Is This Answer Correct ? | 8 Yes | 13 No |
Post New Answer View All Answers
Does java return by reference?
what is the major difference between linkedlist and arraylist in java?
What does java ide mean?
How do I run java on windows?
What is a nullable field?
Why we go for collections in java?
Differences between external iteration and internal iteration?
which class is the wait() method defined in? : Java thread
What is difference between overloading and overriding in java?
What type of language is java?
What is overloading and overriding in java?
please send me hr interview questions in it industry
What are the advantages of exception handling in java?
What is the statements?
How does hashset work in java?