Which of these methods is used to tell the calling thread to give up a monitor and go to sleep until some other thread enters the same monitor?
Select one:
a. notifyAll ()
b. wait ()
c. sleep ()
d. notify ()
2.8k questions
2.8k answers
0 comments
76 users