C and D are correct!
A is wrong. -> synchronized statement won’t acquires “intrinsic lock” but a specified object that provides the intrinsic lock
B is wrong -> The lock release occurs even if the return was caused by an uncaught exception.
C and D are correct!
A is wrong. -> synchronized statement won’t acquires “intrinsic lock” but a specified object that provides the intrinsic lock
B is wrong -> The lock release occurs even if the return was caused by an uncaught exception.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
6c84cb9
4 months, 3 weeks agosteefaand
11 months, 4 weeks agoduydn
1 year, 4 months agoSvetleto13
3 years, 9 months agolaura_lu93
3 years, 10 months agolaura_lu93
3 years, 10 months ago