Oracle
1Z0-809 · Question #248
Which two statements are true about synchronization and locks? (Choose two.)
The correct answer is A. A thread automatically acquires the intrinsic lock on a synchronized statement when executed. You've hit your session limit · resets 5:20pm (America/New_York)
Question
Which two statements are true about synchronization and locks? (Choose two.)
Options
- AA thread automatically acquires the intrinsic lock on a synchronized statement when executed.
- BThe intrinsic lock will be retained by a thread if return from a synchronized method is caused by an uncaught exception.
- CA thread exclusively owns the intrinsic lock of an object between the time it acquires the lock and the time it releases it.
- DA thread automatically acquires the intrinsic lock on a synchronized method's object when entering that method.
- EThreads cannot acquire intrinsic locks on classes.
How the community answered
(29 responses)- A79% (23)
- B3% (1)
- C3% (1)
- D14% (4)
Explanation
You've hit your session limit · resets 5:20pm (America/New_York)
Community Discussion
No community discussion yet for this question.