填空题

类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】

【参考答案】

abcde,ABCZE
热门 试题