问题描述:
[多选]
若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.说明数据在存储器中可以按“边 2.软件生存周期包括软件定义、( 3.LL()分析过程中使用的分析
