问题描述:
[单选]
下面代码运行结果是()。publicclassTest{publicstaticvoidmain(Stringargs[]){Stringstr=newString("World");charch[]={'H','e','l','l','o'};change(str,ch);System.out.println(str+"and"+ch);}publicstaticvoidchange(Strings
A.World and Hello
B.World and Cello
C.Changed and Hello
D.Changed and Cello
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:给定代码( )int[]array=newint[10];System.out.println(array[1]);下面叙述正确的是()。
下一篇:下面程序输出的结果是()。publicclassex2{publicstaticvoidmain(String[]args){for(intcnt=0;cnt<;10;cnt++){if(cnt==5){break;}System.out.print(cnt);}}}
- 我要回答: 网友(216.73.216.223)
- 热门题目: 1.以下正确描述开普勒定律的是( 2.电功率大的用电器,电功也一定 3.负载上获得最大功率时,说明电
