阅读下面程序 publicclasslncrement{ publicstaticvoidmain(Stringargs[]){ intc; C=5; System.out.println?System.out.println(C++); System.out.println(C); } } 程序运行结果是( )。A.5 6 6B.5 5 6C.6 7 7D.6 6 6
阅读下面程序 publicclasslncrement{ publicstaticvoidmain(Stringargs[]){ intc; C=5; System.out.println?System.out.println(C++); System.out.println(C); } } 程序运行结果是( )。
A.5 6 6
B.5 5 6
C.6 7 7
D.6 6 6
相关考题:
( 21 )阅读下面程序public class Increment {public static void main( String args[] ){int c;c = 5;System.out.println( c );System.out.println( c++ );System.out.println( c );}}程序运行结果是A ) 566B ) 556C ) 677D ) 666
下面程序的运行结果是( )。 public class Test { public static void main (String args[]) { int c=5; System. out. println (C); System. out. println (c++); System. out. println (C); } }A.5 6 6B.5 5 6C.6 7 7D.6 6 6
阅读下面程序 public class Increment { public static void main( String args[] ){ int c; c=5; System.out.println(C) ; System.out.println(c++); System.out.println(C) ; } }A.5 6 6B.5 5 6C.6 7 7D.6 6 6
阅读下面程序 public class My Val{ public static void main(String args[]){ My Val m=new My Val(); m. amethod(); } public void amethod(){ boolean b[]=new Boolean[5]; } } 程序编译或运行结果是A.1B.nullC.D.编译不能过
阅读下面程序 public class Increment } public static void main(String args[]) { int c; c=5; System.out.println(C) ; System.out.println(c++); System.out.println(C) ; } } 程序运行的结果是A.5 6 6B.5 5 6C.6 7 7D.6 6 6
阅读下面程序 public class Increment { public static void main( String args[] ){ int c; c=5; System.out.println( c ); System.out.println( c++ ); System.out.println( c ); } )程序运行结果是( )。A.5 6 6B.5 5 6C.6 7 7D.6 6 6
下面程序的运行结果是( )。 public class Increment { public static void main(String args[ ] ){ int c; c=5; System.out.println(c) ; System.out.println(c++); System .out.println(c) ; } }A.5 6 6B.5 5 6C.6 7 7D.6 6 6
阅读下面程序 public class Increment{ public static void main(stringargs[]){ int C; c=5: System.out.println(c); System.out.println(c++): System.out.println(c); } } 程序运行结果是( )。A.5 6 6B.5 5 6C.6 7 7D.6 6 6