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

How can the checkbox class be used to create a radio button?

1079


What is java lang object?

1026


What is meant by main method?

1116


When do we use synchronized blocks and advantages of using synchronized blocks?

1278


Can we override private method in java?

1142


What are the 7 types of characters?

1129


Is age a discrete variable?

1035


What are untrusted applets?

1199


What is a lightweight component?

1064


How to call one constructor from the other constructor ?

1118


Can you declare a private method as static?

1193


extending thread class or implementing runnable interface. Which is better? : Java thread

1044


Why java is considered as platform independent?

1055


Is java call by reference?

1019


Explain what are final variable in java?

1137