Which two statements are true about synchronization and locks?

Which two statements are true about synchronization and locks? (Choose two.)
A. A thread automatically acquires the intrinsic lock on a synchronized statement when executed.
B. The intrinsic lock will be retained by a thread if return from a synchronized method is caused by an uncaught exception.
C. A thread exclusively owns the intrinsic lock of an object between the time it acquires the lock and the time it releases it.
D. A thread automatically acquires the intrinsic lock on a synchronized method’s object when entering that method.
E. Threads cannot acquire intrinsic locks on classes.

Download Printable PDF. VALID exam to help you PASS.

4 thoughts on “Which two statements are true about synchronization and locks?

  1. C, D

    A is wrong. -> synchronized statement won’t acquires “intrinsic lock” but a specified object that provides the intrinsic lock

    B is wrong -> The lock release occurs even if the return was caused by an uncaught exception.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.