- 类的五个成员:属性、方法、构造器、代码块、内部类
局部内部类
1 | public class InnerClass { |
匿名内部类
1 | public class InnerClass { |
成员内部类
1 | public class InnerClass { |
静态内部类
1 | public class InnerClass { |
1 | public class InnerClass { |
1 | public class InnerClass { |
1 | public class InnerClass { |
1 | public class InnerClass { |