Oracle 1z0-809 Question Answer
Which two statements are true about synchronization and locks? (Choose two.)
A thread automatically acquires the intrinsic lock on a synchronized statement when executed.
The intrinsic lock will be retained by a thread if return from a synchronized method is caused by an uncaught exception.
A thread exclusively owns the intrinsic lock of an object between the time it acquires the lock and the time it releases it.
A thread automatically acquires the intrinsic lock on a synchronized method’s object when entering that method.
Threads cannot acquire intrinsic locks on classes.
References:
TESTED 06 Jul 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved