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 is the driver class?

1038


Can we increase array size dynamically in java?

939


explain copyonwritearraylist and when do we use copyonwritearraylist?

942


Which is better stringbuilder or stringbuffer?

926


give an example for encapsulation?

1040


What is bean? Where it can be used?

1080


What are parsing rules?

987


How can constructor chaining be done using this keyword?

1265


In how many ways we can do exception handling in java?

991


In how many ways we can do synchronization in java?

958


Which is fastest collection in java?

1073


What is difference between Heap and Stack Memory?

1045


What are jee technologies?

1008


How many types of interfaces are there?

1057


Is there a jre for java 11?

1072