About Question enthuware.ocpjp.v8.2.1542 :
Posted: Tue May 16, 2017 9:14 pm
I don't understand the explanation for the third option...
Option states
Option states
Explanation states:An instance of the nested class can be created from a class of package mypack using: new TestInner().
Should the bold text be new TestInner(); ?Any class can statically import TestClass.TestInner like this: import static mypack.TestOuter.TestInner; and then create an instance of TestInner like this: TestOuter.TestInner ti = new TestOuter();