程序运行的结果是:_____good and g

14 查阅
程序运行的结果是:_____good and gbc__________。

参考答案:

正确答案:
public class Example{
String str=new String(\"good\");
char[]ch={'a','b','c'};
public static void main(String args[]){
Example ex=new Example();
ex.change(ex.str,ex.ch);
System.out.print(ex.str+\" and \");
Sytem

程序