问题描述:
[单选]
下面代码运行结果是()。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.42)
- 热门题目: 1.在其他因素不变的情况下,若政 2.简单的通货膨胀模型计算通胀的 3.财政政策的扩张力度远大于货币
