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

I have 2 objects inside one object(vector). how can i serialize one of them. I dont want to serialize the second one

3 Answers   ABC, L&T,


What is an iterator java?

0 Answers  


Can we create more than one object singleton class?

0 Answers  


When should I use singleton pattern?

0 Answers  


What is meant by main method?

0 Answers  






Is it possible for a yielded thread to get chance for its execution again?

0 Answers  


What are design patterns and please explain?

0 Answers  


What is functional interface in java example?

0 Answers  


What is the difference between import java.util.date and java .util?

0 Answers  


What are the types of literals?

0 Answers  


What is difference between iterator access and index access?

0 Answers  


What is identifier give example?

0 Answers  


Categories