Java OCA OCP Practice Question 75

Question

Which of the following are true?

  • A. The Thread class inherits the wait() and notify() methods.
  • B. The Object class declares the wait() and notify() methods.
  • C. Only the Synchronized class supports the wait() and notify() methods.
  • D. The wait() and notify() methods have been deprecated in JDK 1.2.


A and B.

Note

A follows from B.




PreviousNext

Related