Page 1 of 1

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

Posted: Wed Jun 26, 2019 12:43 am
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); }

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

Posted: Wed Jun 26, 2019 12:58 am
by admin
You are right. This question has issues. It has now been fixed.

thank you for your feedback!
Paul.