摘要: 1.子类父类拥有同名的方法时…… 测试代码: public class ParentChildTest { public static void main(String[] args) { Parent parent=new Parent(); parent.printValue(); Child 阅读全文
posted @ 2017-11-09 19:36 时间煮雨1111 阅读(89) 评论(0) 推荐(0) 编辑