java多态 多态展示形式 多态展示形式 Animal dog = new Dog(); Animal cat = new Dog(); Animal lion = new Dog(); Animal pig = new Dog();