请在 下方输入 要搜索的题目:

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


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

发布时间:2025-10-12 19:35:26
推荐参考答案 ( 由 题搜搜 官方老师解答 )
答案:Animal animal = new Cat();;Animal a = new Cat(); Cat cat = (Cat) a;;Animal animal = new Dog();
登录 - 搜搜题库网
立即注册
注册 - 搜搜题库网
立即登录