摘要: 抽象类 为什么要有抽象类? 因为父类方法有不确定性,我们在Animal中定义了一个方法,但是它会被子类的方法覆盖掉,我们就不知道这个方法原本是做什么的 1 public class test1 2 { 3 public static void main(String[] args) { 4 } 5 阅读全文
posted @ 2018-09-16 11:45 Igniculus 阅读(894) 评论(0) 推荐(0) 编辑