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

Why does java doesnot support multiple inheritance?

5 Answers   TCS,


why String class is immutable.

5 Answers   iGate,


How to perform selection sort in java?

0 Answers  


Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

0 Answers   Fidelity,


Explain the overview of UDP messaging.

0 Answers  






Explain wait(), notify() and notifyall() methods of object class ?

0 Answers  


What is logical variable?

0 Answers  


When does Exception occurs?

3 Answers  


How a class can implement an interface?

5 Answers   SysArc,


What is java autoboxing?

0 Answers  


Difference between prefix and postfix forms of the ++operator?

3 Answers  


List some java keywords sun like c, c + + keywords?

0 Answers  


Categories