About Question enthuware.ocpjp.v7.2.1221 :

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
pfilaretov
Posts: 35
Joined: Mon Jul 28, 2014 2:05 am
Contact:

About Question enthuware.ocpjp.v7.2.1221 :

Post by pfilaretov »

Q: "What should be inserted at //1 so that TestClass will compile and run?"

One of the option 3

Code: Select all

import static x.y.SM.foo;
or option 5

Code: Select all

import static x.y.SM.*;
is enough.

Why both of them "should be inserted"? Of course both may be inserted, but the question a discourage a little..
Or may be the question means "independent of each other"?

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

Re: About Question enthuware.ocpjp.v7.2.1221 :

Post by admin »

You are right. It should say, "what can be inserted...". Fixed.
thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests