Java Threads Question:
Download Questions PDF

Why are wait(), notify() and notifyall() methods defined in the Object class?


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 QuestionNext Question
What is threaded programming and when is it used?Why are there separate wait and sleep methods?