Which of these methods belong to Thread & Object class?
join, yield, sleep, wait, notify
Answer Posted / paletipatisrinu
wait()and notify() methods are Thread and object class methods
Is This Answer Correct ? | 8 Yes | 13 No |
Post New Answer View All Answers
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
What is an infinite loop?
What is the final access modifier in java?
Can we override data members in java?
Explain super keyword in java.
What is the difference between the paint() and repaint() methods?
Is string pool garbage collected?
Where is jre installed?
Is there a jre for java 11?
What is public/private protected in java?
Explain the difference between static and dynamic binding in java?
Can we make the abstract methods static in java?
How many ways can we create the string object?
What is the use of System class?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?