单项选择题
类Cat采用默认构造函数,声明类Cat的实例tom的正确语句是()。
A.Cat tom=new Cat()
B.Cat tom=new tom()
C.Cat tom=new Cat
D.Cat tom=new tom
点击查看答案&解析
相关考题

单项选择题
A.Cat tom=new Cat()
B.Cat tom=new tom()
C.Cat tom=new Cat
D.Cat tom=new tom
微信扫一扫,加关注免费搜题