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 are the different types of inner classes?

1083


Can an abstract class be a final class?

1047


What do you understand by garbage collection in Java? Can it be forced to run?

1037


Can we convert stringbuffer to string?

1055


Is an integer an object?

1031


Why call by value prevents parameter value change?

1131


What is lambda expression in java?

1113


What is the purpose of java?

1055


What is a class component?

1227


Can we overload the methods by making them static?

1050


What is the reason behind using constructors and destructors?

1113


What is difference between iterator and enumeration in java?

1039


What is the meaning of variables in research?

1077


What is the purpose of using javap?

1160


Can memory leak in java?

1092