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); }
About Question enthuware.ocpjp.i.v11.2.3085 :
Moderators: Site Manager, fjwalraven
-
- Posts: 1
- Joined: Wed Jun 12, 2019 10:25 pm
- Contact:
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3085 :
You are right. This question has issues. It has now been fixed.
thank you for your feedback!
Paul.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 127 guests