Results 1 to 4 of 4

Thread: wait,notify,notifyAll

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    wait,notify,notifyAll

    wait(), notify(), notifyAll(). These three methods required in multithreading. Then Why they belongs to Object class not in Thread class. Please explain this one.


  2. #2
    Expert Member
    Join Date
    Sep 2006
    Answers
    477

    Re: wait,notify,notifyAll

    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!"

  3. #3
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: wait,notify,notifyAll

    Thanks for giving the link kalayama. It helps me to understand the concept.

    ---------------------
    suresh


  4. #4
    Expert Member
    Join Date
    Sep 2006
    Answers
    477

    Re: wait,notify,notifyAll

    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!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact