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 the wait,notify,notifyall methods are placed in object
class?these are the thread concepts why these methods are
placed in Object class?

Answer Posted / vinayakkatkar

wait notify method can be use din some applications where we
have producer consumer mechanism
so they need not be the methods of thread class
and they must be available to the all classes not extending
the thread class
hence the reason



Hi, I have created a blog named as knowledge is free
where you can download many useful e-books on java ,linux,
php , c ,c++
and also request books to me.
I will make it available to all of you. Please tell your
friends to visit the blog
This is the link to blog
http://vinayakkatkar.blog.co.in


--
vinayak

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is comparable and comparator interface? List their differences

1031


What is difference between stringbuffer and string?

898


What is general methodology?

980


java Technical questions asked by JPMC

4992


Can list be null in java?

986


Is overriding possible in java?

901


What is a numeric literal?

995


What is garbage collector?

1009


What is java string pool?

947


How do you differentiate abstract class from interface?

913


What is bubble sorting in java?

993


What is string made of?

914


Is string a class?

969


What language is pass by reference?

969


What do the thread?class methods run() and start() do?

983