问题描述:
[多选]
若Animal 是Cat,Dog的父类,则下列选项中,正确的是()
A.A.Animal animal = new Cat()
B.B.Cat cat = (Cat)new Animal()
C.C.Animal animal = new Dog()
D.D.Cat cat = (Cat)new Dog()
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
- 我要回答: 网友(216.73.216.96)
- 热门题目: 1.Socket的工作步骤分为: 2.使用()类建立一个socke 3.下面哪一个import命令可
