以下代码的输出结果? publicclassTest{ staticintx=5; publicstaticvoidmain(Stringargv[]){ change(x); x++; System.out.println(x); } staticvoidchange(intm){ m+=2; } }
以下代码的输出结果? publicclassTest{ staticintx=5; publicstaticvoidmain(Stringargv[]){ change(x); x++; System.out.println(x); } staticvoidchange(intm){ m+=2; } }
1