Animal a = new Dog; compiles in Java, but Dog d = new Animal; does… | Polymorphism question · AnyPrep