1 class Outer{ 2 3 class Inner{ 4 5 } 6 } 7 8 Inner in = new Outer().new Inner(); 转载于:https://www.cnblogs.com/outOfview/p/3799035.html