因簡(jiǎn)書(shū)改版后無(wú)法添加擴(kuò)展鏈接即寒,20170317問(wèn)題解析請(qǐng)到公眾號(hào)查看,問(wèn)題解析在公眾號(hào)首發(fā),公眾號(hào)ID:weknow619蒿叠。
package Mar2017;
public class Ques0320 {
int num;
void Test() {
num = 1;
System.out.println(num);
}
Ques0320(int i) {
num = i;
System.out.println(num);
}
public static void main(String[] args) {
Ques0320 test1 = new Ques0320();
Ques0320 test2 = new Ques0320(111);
}
}
今日問(wèn)題:
請(qǐng)問(wèn)主程序運(yùn)行結(jié)果是什么明垢?