Sail E0 Webinar
Question

Which of these method is used to tell the calling thread to give up monitor and 

go to sleep until some other thread enters the same monitor?


Options:
A .  wait()
B .  notify()
C .  notifyAll()
D .  sleep()
Answer: Option A

wait() method is used to tell the calling thread to give up monitor and go to sleep until some 


Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers