当前位置:百科知识 > CMS专题5

问题描述:

[单选] 现有: class Cat { Cat (int c){System.out.print {"cat"+c+" "); } } class SubCat extends Cat { SubCat (int c){super (); System.out.print ("cable");} SubCat(){ this (); } public static void main (String [] args){ SubCat s= new SubCat(); } } 结果为:()
A.cat5 B.cable C.at5 cable D.cable cat5
参考答案:查看
答案解析:
☆收藏
上一篇:没有了 下一篇:小布头被分给了苹苹,苹苹很爱小布头。

随机题目