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
Tell us something about an iterator.
What is oops in java?
What do you mean by jjs in java8?
What is java ceil?
What are the changes in java.io in java 8 ?
What is function and method in java?
What is the this keyword?
What is numeric function?
What is difference between fail-fast and fail-safe?
What restrictions are placed on method overloading in java programming?
What is a text string?
What does a za z0 9 mean?
Is age a discrete variable?
Can we override singleton class?
Write a java program for binary search?