DESKTOP-1K7LKMB_20200902-马思宇
内部类
class member (类的成员)
Class (类
在一个类的类体中声明的类被称作 成员类( member class )
枚举(enum)属于一种特殊的类
Interface(接口)
在一个类的类体中声明的接口被称作 成员接口( member interface )
注解(annotation)是一种特殊的接口
Java Language Specification
nested class (嵌套类)
static member class
国内通常被称作 静态内部类
被 static 修饰符所修饰的 成员类 ( member class )
点赞