Oracle Java SE 8 Programmer II 1z0-809 Question # 10 Topic 2 Discussion

Oracle Java SE 8 Programmer II 1z0-809 Question # 10 Topic 2 Discussion

1z0-809 Exam Topic 2 Question 10 Discussion:
Question #: 10
Topic #: 2

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.


Get Premium 1z0-809 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.