Oracle
1Z0-809 · Question #248
1Z0-809 Question #248: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-809 to reveal the answer and full explanation for question #248. The question stem and answer options stay visible for context.
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.
Unlock 1Z0-809 to see the answer
You've previewed enough free 1Z0-809 questions. Unlock 1Z0-809 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.