public class Test{
public static void main(String args[]){
System.out.println(89>>1) ;
}
}
其运行结果是
A. ) 44
B. ) 45
C. ) 88
D. ) 90
[单选题]阅读下列代码 public class Test2005 { public static void main(String args[]){ System.out.pfintln(~(0xa5)&0xaa); } } 其运行结果是( )。A.0xa5B.10C.0x50D.0xaa
[试题]( 8 )阅读下列代码public class Test2{public static void main(String args[]){System.out.println(5/2);}}其执行结果是 ( 8 ) 。
[单选题]阅读下面代码 public class Test2005 { public static void main(String args[]) { System.out.println(~(Oxa5)&Oxaa); } } 其运行结果是A.Oxa5B.10C.Ox50D.Oxaa
[单选题]阅读下面代码 public class Test2005 { public static void main(String args[]) { String s="Test"; switch(s) { case"Java":System.out.print("Java"); break; case"Language":System.out.print("Language"): break; case"Test":System.out.print("Test"); br
[单选题]阅读下列代码 public class Jixiangwu{ public static void main(String[]args){ String[]stars={"贝贝","晶晶","欢欢","迎迎","妮妮"}; System. out. println("你抽取的奥运吉祥物是"+"“" +stars[(int)(stars. ______* Math. random())]+"”"+"!"); } } 为保证程序能正确执行,程序中下画线处应填写的是
[单选题]阅读下列代码 public class Jixiangwu{ public static void main(String[]args){ String[]stars={"贝贝","晶晶","欢欢","迎迎","妮妮"}; System. out. println("你抽取的奥运吉祥物是"+"“" +stars[(int)(stars. ______* Math. random())]+"”"+"!"); } } 为保证程序能正确执行,程序中下画线处应填写的是
[单选题]阅读下列代码: public class Test{ public static void main(String args[])[ System. out.println(89>>1 ); } }A.44B.45C.88D.90
[单选题]阅读下列代码 public class Test{ public static void main(String args[]){ System. out. println((2<0)? 10:8); } } 其运行结果是A.2B.0C.10D.8
[单选题]阅读下列代码 public class Test 2005{ public static void main(String args[]){ System.out.println((3>2)?4:5); } } 其运行结果是A.2B.3C.4D.5
[单选题]阅读下列代码 public class Test 2005{ public static void main(String args[]){ Strings="Test"; switch(s){ case "Java":System.out.print("Java"); break; case "Language":System.out.print("Language"); break; case "Test":System.out.ptint("Test"); br