About Question enthuware.ocpjp.i.v11.2.3085 :

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
yuliadovbnia
Posts: 1
Joined: Wed Jun 12, 2019 10:25 pm
Contact:

About Question enthuware.ocpjp.i.v11.2.3085 :

Post by yuliadovbnia »

Hi all.
It seems that this question is incorrect.

Given:
public class ValueHolder{
final int value;
*INSERT CODE HERE*
}
Which of the following options can be inserted in the above code independent of each other?

Answers contains magic variable a.
public ValueHolder(){ this("10"); } public v(String x) { a = Integer.parseInt(x); }

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

Re: About Question enthuware.ocpjp.i.v11.2.3085 :

Post by admin »

You are right. This question has issues. It has now been fixed.

thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests