Java Threads Question:
Download Job Interview Questions and Answers PDF
Why are wait(), notify() and notifyall() methods defined in the Object class?
Answer:
These methods are detailed on the Java Software Development Kit JavaDoc page for the Object class, they are to implement threaded programming for all subclasses of Object.
Download Java Threads Interview Questions And Answers
PDF
Previous Question | Next Question |
What is threaded programming and when is it used? | Why are there separate wait and sleep methods? |