给定java代码,如下: public class Test{ static int i=0; public int aMethod( ){ i ; return i; } public static void main(String [] args){ Test test = new Test( ); test.aMethod( ); // i=1System.out.println(test.aMethod( )); //i=2} }编译运行后,输出结果是( )。 A:0 B:1 C:2 D:3