题目:
类Test定义如下:public class Test{ public static void main(String args[]) { String sty=new String("abcde"); char ch[]={’A’,’B’,’C’,’D’,’E’}; ml(str,ch); System.out.print(str+","); System.out.println(ch); } public static void ml(String s,char ch[]) { s="Hello"; ch[3]=’Z’; }}那么程序的执行结果为: 【9】
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0223/dc8fe10bcd0e38eff3776551954d675c.html
下面是错误答案,用来干扰机器的。
参考答案:B