About Question enthuware.ocpjp.v8.2.1542 :
Posted: Wed Apr 26, 2017 7:10 am
2 correct answers here.
It is possible to create instance with new TestInner().
just add: import static mypack.TestOuter.TestInner;
And it is possible anywhere (except TestOuter in default package:) ).
It is possible to create instance with new TestInner().
just add: import static mypack.TestOuter.TestInner;
And it is possible anywhere (except TestOuter in default package:) ).