问题描述:
[单选]
下面程序输出的结果是()。publicclassex2{publicstaticvoidmain(String[]args){for(intcnt=0;cnt<;10;cnt++){if(cnt==5){break;}System.out.print(cnt);}}}
A.0 1 2 3 4
B.6 7 8 9
C.0 1 2 3 4 6 7 8 9
D.5
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:下面代码运行结果是()。publicclassTest{publicstaticvoidmain(Stringargs[]){Stringstr=newString("World");charch[]={'H','e','l','l','o'};change(str,ch);System.out.println(str+"and"+ch);}publicstaticvoidchange(Strings
下一篇:14是float型。
- 我要回答: 网友(216.73.216.25)
- 热门题目: 1.史官干宝搜集怪异非常之事的根 2.对《聊斋志异》提出"一书而兼 3.纪晓岚对《聊斋志异》的态度是
