20. 给定下面的类:
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.println(ex.str+”and”+ex.ch);
}
public void
A. good and abc
B. good and gbc
C. test ok and abc
D. test ok and gbc
(责任编辑:admin)有不懂可以加客服微信:vq800020900 咨询