子类继承父类无参构造方法 如public Animal(){ } 父类可以引用指向子类对象 Animal animal=new Dog() 继承权限 转载于:https://www.cnblogs.com/shuwen/p/7130991.html