当前位置:百科知识 > 网课题库

问题描述:

[单选] 下面代码运行结果是()。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
参考答案:查看
答案解析:
☆收藏

随机题目