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

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

Post by yuliadovbnia »

Hi all.
It seems that this question is incorrect.

public class ValueHolder{
final int value;
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); }

Site Admin
Posts: 9020
Joined: Fri Sep 10, 2010 9:26 pm

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!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests