public class Test{
String edition;
Test(){
edition = "SE";
}
public static void main(String[] args){
Test obj = new Test();
String edition = args[2]; //arg[2]里面的值为"FX"
System.out.print(obj.edition);
}
}
想请问为何arg[2]那行不会复写edition,还是这两个edition其实不一样??
麻烦帮忙说明,谢谢
11/6号要考试了QQ 希望可以顺利过关!!