分析以下程序: 
class Test{ 
   static int i=0; 
   public int aMethod() {   
       i++;  
       return i; 
  } 
   public static void main(String[] args) {  
      Test test=new Test();  
      test.aMethod();  
      int j=test.aMethod();  
     System.out.println(j); 
   }
 }
 该程序执行结果为?
A 编译将失败
B 编译成功,执行后输出“0”
C 编译成功,执行后输出“1”
D 编译成功,执行后输出“2”
分析以下程序:  class Test{     static int i=0;     public int aMet - 考试:期末试卷一 - Java语言程序设计基础 - 安徽省网络课程学习中心平台 | 大学网课搜题引擎