摘要: 1. 接口.super.默认方法 调用接口中的默认方法 2.内部类实例化: 静态的成员内部类 Person.Dog dog = new Person.Dog(); 非静态的成员内部类 Person p =new Person(); Person.Cat cat = p.new Cat(); 3.有名 阅读全文
posted @ 2020-09-22 23:00 accelerateInvolute 阅读(156) 评论(0) 推荐(0)