Which three are methods of the Object class?

  • notify();
  • notifyAll();
  • isInterrupted();
  • synchronized();
  • interrupt();
  • wait(long msecs);
  • sleep(long msecs);
  • yield();


(A), (B), and (F) are correct. They are all related to the list of threads waiting on the specified object.

The methods sleep() and yield() are static methods of Thread.

D is incorrect because synchronized is a keyword and the synchronized() construct is part of the Java language.

Leave a Reply

© 2018 Micro Solutions Bangladesh and/or MCQ Academy.