Big 11.11 Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Oracle Java SE 17 Developer 1z0-829 Question # 14 Topic 2 Discussion

Oracle Java SE 17 Developer 1z0-829 Question # 14 Topic 2 Discussion

1z0-829 Exam Topic 2 Question 14 Discussion:
Question #: 14
Topic #: 2

Which statement is true?


A.

The tryLock () method returns a boolean indicator immediately regardless if it has or has not managed to acquire the lock.


B.

The tryLock () method returns a boolean indicator immediately if it has managed to acquire the lock, otherwise it waits for the lock acquisition.


C.

The lock () method returns a boolean indicator immediately if it has managed to acquire the lock, otherwise it waits for the lock acquisition.


D.

The Lock () method returns a boolean indicator immediately regardless if it has or has not managed to acquire the lock


Get Premium 1z0-829 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.