wait(), notify(), notifyAll(). These three methods required in multithreading. Then Why they belongs to Object class not in Thread class. Please explain this one.
wait(), notify(), notifyAll(). These three methods required in multithreading. Then Why they belongs to Object class not in Thread class. Please explain this one.
Hmmm... Obvious to me after I read this. May be this will help you too... Check this link Suresh...
http://java.sun.com/j2se/1.4.2/docs/...ng/Object.html
Cheers!
Kalayama
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
Thanks for giving the link kalayama. It helps me to understand the concept.
---------------------
suresh
Anytime Suresh. As I said in another thread, whenever you have to thank someone, press the Thanks button there next to the post...
Cheers!
Kalayama
[COLOR="Blue"][SIZE="2"]"If you are not living on the edge of your life, you are wasting space"[/SIZE][/COLOR]
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"