2018年4月12日

《Java技术》第三次作业--面向对象——继承、抽象类、接口

摘要: (一)学习总结 1.阅读下面程序,分析是否能编译通过?如果不能,说明原因。应该如何修改?程序的运行结果是什么?为什么子类的构造方法在运行之前,必须调用父 类的构造方法?能不能反过来? class Grandparent { public Grandparent() { System.out.prin 阅读全文

posted @ 2018-04-12 15:48 Mty灬 阅读(266) 评论(0) 推荐(0) 编辑

导航