

MCQOPTIONS
Saved Bookmarks
1. |
Which of these method is used to tell the calling thread to give up a monitor and go to sleep until some other thread enters the same monitor? |
A. | wait() |
B. | notify() |
C. | notifyAll() |
D. | sleep() |
Answer» B. notify() | |