polimorfismo java ejemplo
public static void main(String[ ] args) {
Animal a = new Dog();
Animal b = new Cat();
}
Shiny Sable
public static void main(String[ ] args) {
Animal a = new Dog();
Animal b = new Cat();
}