static 修饰的 类
摘要:static 只能修饰内部类。 正常的外部类不能使用 static 修饰。static 修饰的 内部类 可以直接创建, 没有使用 static 修饰的 class 需要 先创建 外部类才能创建这个内部类。 普通类 内部类是 创建 OuterClass oc = new OuterClass(); 在
阅读全文
posted @ 2020-01-10 15:54
posted @ 2020-01-10 15:54
posted @ 2020-01-10 14:57
posted @ 2020-01-09 14:52
posted @ 2020-01-07 17:40
posted @ 2020-01-07 16:23
posted @ 2020-01-07 12:32