About Question enthuware.ocpjp.i.v11.2.3085 :
Posted: Wed Jun 26, 2019 12:43 am
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); }
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); }