摘要: 子类要是重写了父类的方法,执行子类的方法 public class Person{ public void run(){ } } public class Student extend Person{ @override public void run(){ System.out.print("so 阅读全文
posted @ 2017-11-23 11:09 物联网女强人 阅读(212) 评论(0) 推荐(0)