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


Please Help Members By Posting Answers For Below Questions

If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

667


What is an infinite loop?

548


What is the final access modifier in java?

617


Can we override data members in java?

632


Explain super keyword in java.

585






What is the difference between the paint() and repaint() methods?

589


Is string pool garbage collected?

551


Where is jre installed?

592


Is there a jre for java 11?

558


What is public/private protected in java?

548


Explain the difference between static and dynamic binding in java?

545


Can we make the abstract methods static in java?

588


How many ways can we create the string object?

532


What is the use of System class?

613


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

627