Description: From the run results, and local inner class Inner can directly access the external class Local class Outer' s data [] array, then turn the outer class method in the Outer inner class Inner can directly access and local classes in Local members? Please checkInner () methods innerObj.show () changed to show () while the checkLocal () methods localObj.show () changed to show () test the results.
To Search:
File list (Check if you may need any files):
InterClassTest\InnerClassTest.class
..............\InnerClassTest.java
..............\Outer$1Local.class
..............\Outer$Inner.class
..............\Outer.class
InterClassTest