Which of these methods belong to Thread & Object class?
join, yield, sleep, wait, notify

Answer Posted / vikki

methods inherited from java.lang.Object
*clone
*equals
*finalize
*getClass
*hashCode
*notify
*notifyAll
*wait

and this three methods join, yield, sleep belongs to Threads
class

Is This Answer Correct ?    22 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between float and double?

505


What is meant by null and void?

538


What is an example of a conditional statement?

564


Explain the inheritance?

577


Why does java have different data types for integers and floating-point values?

535






What are actual parameters?

524


What does snprintf return?

551


What is the difference between a synchronized method and a synchronized block?

607


What's the difference between an abstract class and interface in java?

559


What is the difference between @before and @beforeclass annotation?

540


What is implicit object in java?

548


Can a class be final?

500


What is size_t?

507


What are the legal operands of the instanceof operator?

566


What is treeset and treemap in java?

582