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 variable and its types?

985


What is the purpose of default constructor?

972


Difference between object instantiation and construction ?

1033


What is this keyword in java?

1001


If goto and const is reserve words than why it is not work in java?

1933


What is the difference between public, private, protected, and friend access?

1010


Is arraylist ordered in java?

1053


Can we convert integer to string in java?

1020


Is java a super set of javascript?

1060


What does the three dot emoji mean?

1068


What do you mean by garbage collection used in java?

1032


Why hashmap is used in java?

1032


What is the need of transient variables in Java ?

1044


What is illegal identifier in java?

980


What is an object class?

980