Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can we use synchronized block for primitives?

0 Answers  


Give a practical example of singleton class usage?

0 Answers  


Explain a few methods of overloading best practices in java?

0 Answers  


How many techniques can be employed to create a string object?

0 Answers  


Why can't we make jsp as a controller and action servlet in struts?

8 Answers   TCS, Wipro,






How can be define MARKER interfce in java

1 Answers  


What is queue in java?

0 Answers  


Write a program to calculate factorial in java?

0 Answers  


Is an integer an object?

0 Answers  


When will we prefer to use set and list in java and why?

0 Answers  


In which language java is written?

0 Answers  


Is java a digit method?

0 Answers  


Categories