Is this right about notify() method ...
when a
thread is in a waiting queue ( after calling wait() method ) , notify() method is for waking up this thread .
But I am confuse in this :
who will call notify() method ?
how this thread will know that some body has called notify() method ?
how notifyAll() work ?
If possible can any body explain me all three method ?
thanks a lot .