public void fk() {
String myto;
String tempArray[] = new String[1];
client_parse_get_conent(tempArray);
myto=tempArray[0];
System.out.println(myto); //这里显示为null
}
class client_parse_get_conent extends client_base {
String filename="cw";
public client_parse_get_conent(String[] myto ) {
myto[0]=filename;
}
}
String myto;
String tempArray[] = new String[1];
client_parse_get_conent(tempArray);
myto=tempArray[0];
System.out.println(myto); //这里显示为null
}
class client_parse_get_conent extends client_base {
String filename="cw";
public client_parse_get_conent(String[] myto ) {
myto[0]=filename;
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货