问题描述:
[单选]
下面程序输出的结果是()。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.223)
- 热门题目: 1.下列哪些是用户数据报协议(U 2.UDP协议提供面向非连接的、 3.TCP协议和UDP协议头部的
