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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does t in java mean?

1004


Why is it called boolean?

1009


How do you identify independent and dependent variables?

1008


Is arraylist sorted in java?

1008


How do you detect memory leaks?

1059


Is null an object in java?

1038


What is an iterator interface in java programming?

967


What is integer parseint?

996


What is an accessor?

1693


Why can't you declare a class as protected?

1135


What is the purpose of the finalize() method?

1249


Does java map allow duplicates?

905


what is method reference in java 8?

1040


what is anonymous class in java?

1036


What do you understand by java?

997