

MCQOPTIONS
Saved Bookmarks
1. |
Which three guarantee that a thread will leave the running state? yield() wait() notify() notifyAll() sleep(1000) aLiveThread.join() Thread.killThread() |
A. | 1, 2 and 4 |
B. | 2, 5 and 6 |
C. | 3, 4 and 7 |
D. | 4, 5 and 7 |
Answer» C. 3, 4 and 7 | |