Vidyalelo
Java Programming · Q62

Threads

Programming · Java Programming · question 62

Q62

Which of these method wakes up the first thread that called wait()?

A.
wake()
B.
notify()
Answer
C.
start()
D.
notifyAll()

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board