下列代码的执行结果是public class Test{ public int aMethod(){static int i=0;i++;System.out.println(i); } public static void main(String args[]){Test test= new Test();test. aMethod(); }}
单选题
下列代码的执行结果是public class Test{ public int aMethod(){static int i=0;i++;System.out.println(i); } public static void main(String args[]){Test test= new Test();test. aMethod(); }}