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
how to deploy tomcatserver to weblogic server? write d following steps?
What is an immutable object?
What is files manifesting?
What is difference between classpath and path variables in java?
What is number data type?
What does next mean in java?
What is the ==?
What does microservices mean?
Difference between this() and super() in java ?
How do you define a variable?
Can you call a method on a null object?
Define linked list and its features with signature?
What is the difference between static and non-static variables in java programming?
How do you convert an int to a double in java?
What is a parameter in simple terms?