摘要:
package com.whxiong.work04; public abstract class Animal { private int age; public Animal(int age){ this.age=age; } public int getAge() { return age; 阅读全文
摘要:
package com.xdf.bean; /** * Student is a Person * Teacher is a Person * * 子类和父类满足 is a的关系! * 学生是人类 * 老师是人类 * 司机是人类 * * 继承使用的关键字是extends! * * 请问: * 一个人 阅读全文
摘要:
阅读全文