Java OCA OCP Practice Question 1254

Question

A Java monitor used in threading code must either extend Thread or implement Runnable.

  • A. True
  • B. False


B.

Note

A monitor is an instance of any class that has synchronized code.




PreviousNext

Related