Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why Wait and notify are kept in Object class although they
are used only with Thread Class

Answers were Sorted based on User's Feedback



Why Wait and notify are kept in Object class although they are used only with Thread Class..

Answer / srinivas

Since the locking mechanism happens at the Object level so
they are in Object Class.

Is This Answer Correct ?    21 Yes 4 No

Why Wait and notify are kept in Object class although they are used only with Thread Class..

Answer / chandrasekhar

wait(),notify() are worked on the objects to control the
multiple thereads,not on theread.Hence these methods are
difined object class.

Is This Answer Correct ?    14 Yes 8 No

Post New Answer

More Core Java Interview Questions

What is meant by Session? Explain something about HTTP Session Class?

1 Answers  


Is list ordered in java?

0 Answers  


What is the Concept of Encapsulation in OOPS

0 Answers   HCL,


hi to all. well can you please tell me that why String class is immutable? Thanks in advance.

5 Answers   Huawei,


How do you declare an array that will hold more than 64KB of data?

0 Answers   Aspire, Infogain,


What does t in java mean?

0 Answers  


how can i connect to database in a applet ?

1 Answers  


How can you avoid serialization in child class if the base class is implementing the serializable interface?

0 Answers  


What are drawbacks of singleton class?

0 Answers  


Explain illegalmonitorstateexception and when it will be thrown?

0 Answers  


What are the observer and observable classes?

1 Answers  


What is nullpointerexception in java?

0 Answers  


Categories