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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / sudeep

wait belongs to thread... in c#!!!

Is This Answer Correct ?    2 Yes 0 No

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

Answer / paletipatisrinu

wait()and notify() methods are Thread and object class methods

Is This Answer Correct ?    8 Yes 13 No

Post New Answer

More Core Java Interview Questions

Can a class extend abstract class or interface? why

4 Answers   Wipro,


What are the different types of java?

0 Answers  


Why is a singleton bad?

0 Answers  


What is continuity of a function?

0 Answers  


How variables are stored in memory?

0 Answers  






Difference between overloading and Overriding. <Giving a confusing example to test the concept.> (also asked in PA Consultancy Group,iflex,Value chain,IBM,CTS,Accenture, Tarang>

12 Answers   Accenture, CTS, Extensio, IBM, iFlex, PA Consulting, Symphony, Tarang,


Write a program to check for a prime number in java?

0 Answers   Cyient,


What is sortedset in java?

0 Answers  


What is api in java?

0 Answers  


What are the 8 primitive data types in java?

0 Answers  


What is the synonym of string?

0 Answers  


What is hotjava?

0 Answers  


Categories