About Question enthuware.ocpjp.ii.v11.2.1574 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
pavel.gurinovich
Posts: 13
Joined: Mon Nov 18, 2019 4:59 am
Contact:

About Question enthuware.ocpjp.ii.v11.2.1574 :

Post by pavel.gurinovich »

The question is quite confusing especially when you don't see number of answers.
It asks:
Which of the following options avoids a deadlock?
And third option formally avoids deadlock:
The second thread should call getLocks() only after first thread exits out of it.
This is not necessary. Option 2 works just fine.
Should I expect such questions from Oracle regarding concurrency?

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.ii.v11.2.1574 :

Post by admin »

1. Our simulator does show the number of correct answer (as does the real exa). Not sure why you are not seeing that. May be you are using a customized test where Show Number of Correct Answers option is unchecked.
2. The "should" in option 3 has now been changed to "must" to make it clear.

thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 92 guests