About Question enthuware.ocpjp.v8.2.1860 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
Tanooki
Posts: 9
Joined: Wed Dec 28, 2016 12:35 pm
Contact:

About Question enthuware.ocpjp.v8.2.1860 :

Post by Tanooki »

Very misleading.

I chose "It cannot be parameterized as it is meant to deal only with int primitives." then the explanation of that answer being wrong is: "The parameter type cannot be parameterized, but return type can be as shown in explanation to option 1."
So... That means it cannot be parameterized! You can only change the return type, but you cannot change the amount and type(s) of the parameters!

That is the reason I chose D instead of B.

I do however agree with the explanation of B. So I think in this case the answer should be B & D. Not just B.

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

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

Post by admin »

A function has two equally important things - input parameters and output value. In this case, only one of them can be parameterized. So I agree with you that there is a bit of ambiguity there. However, given that you have to select one option, you need to select the best answer, which happens to be option 2.
If you had to select 2 options, then this option should have been worded better.

thank you for your feedback!
Paul

Tanooki
Posts: 9
Joined: Wed Dec 28, 2016 12:35 pm
Contact:

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

Post by Tanooki »

That's the problem there: the question doesn't imply that you have to choose the best answer: you have to choose "the correct answer".

Both B and D are correct.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests