About Question enthuware.ocpjp.ii.v11.2.3515 :
Posted: Mon Jul 27, 2020 12:18 am
Hi in Q5 of 816 Java Fundamentals
It says that this answer is incorrect,
However i seem to be able to construct/invoke static nested classes without any outer references quite ok in the IDE, what am i overlooking/misunderstanding here?
It says that this answer is incorrect,
Code: Select all
new A().m(); can be inserted in main to invoke A's m().