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
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)