Hello!
I've chosen the option False because I thought that locks like java.util.concurrent.locks.Lock must be handled/released by the programmer in all cases (including exception situations)? Am I wrong?
Kind regards
About Question enthuware.ocpjp.v7.2.1423 :
Moderators: Site Manager, fjwalraven
-
- Posts: 12
- Joined: Sat Apr 20, 2013 10:06 am
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1423 :
It is true that java.util.concurrent.locks.Lock must be released by the programmer explicitly but the question is talking about the locks acquired due the usage of synchronized keyword. I agree that "any locks" can lead to the you interpretation.
The problem statement has now been updated to make it clear.
thank you for your feedback!
Paul.
The problem statement has now been updated to make it clear.
thank you for your feedback!
Paul.
Who is online
Users browsing this forum: No registered users and 4 guests