下列代码的执行结果是( )。

  public class Test

  public int aMethod( )

  static int i=0;

  1++;

  System.out.println(i):

  

  public static void main (String args[])

  Trest test=new Test ( );

  test aMethod( ):

  

  

题库:计算机等级考试 类型:最佳选择题 时间:2017-07-03 15:22:55 免费下载:《单项选择》Word试卷

下列代码的执行结果是( )。

  public class Test

  public int aMethod( )

  static int i=0;

  1++;

  System.out.println(i):

  

  public static void main (String args[])

  Trest test=new Test ( );

  test aMethod( ):

  

  

A.编译错误
C.1
D.运行成功,但不输出

下列代码的执行结果是(  )。  public class Test  public int aMethod( )  static int i=0;  1++;

本题关键词:行为结果,行为结果评价,结果,结果均,下果藤,行列式,危害结果,测定结果,结果期待,考评结果;

微信扫码获取答案解析
下载APP查看答案解析