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

What are void pointers?

1 Answers  


What are pass by reference and pass by value?

0 Answers  


What is serial version uid and its importance in java?

0 Answers  


Explain about transient variables in java?

0 Answers  


what modifiers are used with top-level class?

2 Answers  






Is 'null' a keyword?

8 Answers  


Name few java.lang classes introduced with java 8 ?

0 Answers  


What is multithreading in java?

0 Answers  


What happens when main () method is declared as private?

0 Answers   Tech Mahindra,


In which language JVM (Java Virtual Machine) is implemented

5 Answers  


what is the difference between sleep() and Wait()?

10 Answers   Accenture, Amdocs,


What is a locale?

0 Answers   Aspire, Infogain,


Categories