问题描述:
[单选]
下面代码运行结果是()。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.147)
- 热门题目: 1.林语堂曾主编《语丝》半月刊, 2.林语堂是拥有西方读者最多的中 3.大学毕业后的工作与专业完全没
