1.

Which of these method wakes up the first thread that called wait()?(a) wake()(b) notify()(c) start()(d) notifyAll()The question was asked in an online interview.My question comes from Creating Threads in section Multithreading of Java

Answer»

Correct option is (B) NOTIFY()

The best explanation: NONE.



Discussion

No Comment Found

Related InterviewSolutions