0
what does the thread do after calling notify()?
when a thread calls notify(), the other thread which was in wait condition becomes active and starts running, at that point of time what does that thread do which has called notify?
1 Antwort
+ 1
notify(): continuing a thread, which was previously called method wait()
wait(): releases the monitor and puts the calling thread on hold until another thread calls the method notify()