摘要: Parent p=new Child(); 多态中,当子类重写了超类方法时,则调用子类方法,否则都是调用超类方法! 阅读全文
posted @ 2020-11-30 16:50 甜菜波波 阅读(199) 评论(0) 推荐(0) 编辑