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 the use of jtable?

854


Which object oriented concept is achieved by using overloading and overriding?

803


how to handle exceptions in ejb?

2096


What is strings in java?

797


Is java a prime method?

745


Why string is a class?

729


What are inner classes or non static nested classes in java?

929


What is the syntax and characteristics of a lambda expression?

802


What is cr keyboard?

850


Can we access instance variables within static methods ?

821


What is java util collection?

764


Define packages in java?

786


what are the methods in object?

865


Can long be null in java?

742


Can singleton class be cloned?

800