Why Wait and notify are kept in Object class although they
are used only with Thread Class
Answer Posted / chandrasekhar
wait(),notify() are worked on the objects to control the
multiple thereads,not on theread.Hence these methods are
difined object class.
| Is This Answer Correct ? | 14 Yes | 8 No |
Post New Answer View All Answers
Can we clone singleton object?
How do you differentiate abstract class from interface?
Convert Binary tree to linked list.
When do we need to use internal iteration? When do we need to use external iteration?
Which is best ide for java?
What is the advantage of preparedstatement over statement?
Is java map thread safe?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
What is proper subset?
What is stringjoiner ?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
what do you mean by java annotations?
Why vector is used in java?
Explain the available thread states in a high-level?
What is autoboxing and unboxing?