Java OCA OCP Practice Question 1314

Question

Can you write code that can execute only if the current thread owns multiple locks?

  • A. Yes.
  • B. No.


A.

Note

You can have a synchronized method call a synchronized method of a different object.




PreviousNext

Related