不挂科搜题免费

问题:

D. Cat cat = (Cat)new Dog();

答案:

Animal animal = new Cat();;Animal a = new Cat(); Cat cat = (Cat) a;;Animal animal = new Dog();