Java多态性练习:重写方法 代码: package com.atguigu.test; //考查多态的笔试题目: public class InterviewTest1 { public static void main(String[] args) {