About Question enthuware.ocpjp.v8.2.1306 :

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

Moderator: admin

Post Reply
Robbie
Posts: 13
Joined: Sun Mar 27, 2016 1:10 pm
Contact:

About Question enthuware.ocpjp.v8.2.1306 :

Post by Robbie »

The question says:
Which of the given options (independent of each other or together) must be inserted at //1 so that it will print 2?
While the answer says:
In this question, before we use binarySearch(), we must sort the array using Arrays.sort(sa) method. Therefore, option 3 and 4 are correct.
So option 3 and 4 don't work independent of each other you need both. I think the question is wrong about the independent part?

Ah after reading the question several times I now see the or together part. So the question is correct but I really need to read carefully.

Wesley
Posts: 11
Joined: Sun Mar 18, 2018 9:08 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1306 :

Post by Wesley »

Aaah that same thing messed me up too.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 102 guests