摘要: 类的继承 public class Apple extends Fruit { public static void main(String[] args) { //创建Apple对象 Apple a = new Apple(); //Apple 对象本身没有 weight 成员变量 //因为App 阅读全文
posted @ 2020-10-05 14:47 王昊宁 阅读(87) 评论(0) 推荐(0) 编辑