Page 1 of 1

About Question enthuware.ocpjp.v8.2.1542 :

Posted: Thu Aug 16, 2018 3:45 pm
by yassine
I tried the "correct answer" in eclipse but it doesn't work

Re: About Question enthuware.ocpjp.v8.2.1542 :

Posted: Thu Aug 16, 2018 7:17 pm
by admin
What error message did you get?

Re: About Question enthuware.ocpjp.v8.2.1542 :

Posted: Wed Jan 23, 2019 2:13 am
by lighthesky
Hi,
This question has two correct answers listed:
1.An instance of the nested class can be created from any class using: new TestOuter.TestInner().(Assuming appropriate imports).
2.An instance of the nested class can be created from a class of package mypack using: new TestInner().
Shouldn't the second answer also have the clarification (Assuming appropriate imports).?
Because it does and without them you can't, thus the answer would be incorrect.

Re: About Question enthuware.ocpjp.v8.2.1542 :

Posted: Wed Jan 23, 2019 9:42 am
by admin
You are right. "Assuming appropriate imports" should be mentioned for this option as well. Added.
thank you for your feedback!