Page 1 of 1

About Question enthuware.ocpjp.v7.2.1221 :

Posted: Fri May 15, 2015 1:36 am
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"?

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

Posted: Fri May 15, 2015 7:32 am
by admin
You are right. It should say, "what can be inserted...". Fixed.
thank you for your feedback!
Paul.