更多"Beware of pickpockets in public pla"的相关试题:
[单项选择]{{U}}Beware{{/U}} of pickpockets in public places.
A. Take care of
B. Look for
C. Watch out for
D. Take notice of
[单项选择]阅读下面程序
public class VariableUse
public static void main(String[] arqs)
int a;
if(a==8)
int b=9;
System.out.println("a="+
A. ;
B. ;
[单项选择]阅读下列代码
public class Test{
public static void main(String args[]){
System.out.println(89>>1);
}
}
其运行结果是【 】
A. 44
B. 45
C. 88
D. 90
[单项选择]阅读下列代码:
public class Test
public static void main(String args[]
System.out.println(100%3);
System.out.pnntln(100%3.0);
程序运行结果为( )。
A. 1和1
B. 1和1.0
C. 1.0各1
D. 1.0和1.0
[单项选择]阅读下列程序:
public class Test
public static void main (String args[])
int x=3;
for (int i=1;i<=10; i++) x=x+i/4;
System. out. println(x);
程序的输出结果是( )。
A. 12
B. 13
C. 14
D. 15
[单项选择]阅读下面程序
public class Cycle
public static void main(String[] args)
System.out.println(args[0]);
在命令行输入java Cycle one two,该程序输出的结果是
A. Cycle
B. one
C. two
D. 以上三个选项都不对
[单项选择]阅读下面程序 public class MyVal { public static void main(String[]args) { MyVal m=new MyVal( ); m.amethod( ); } public void amethod( ) { boolean b[]=new Boolean[5]; } } 程序编译或运行的结果是
A. 1
B. null
C. ""
D. 编译不通过
[单项选择]阅读下列代码
public class Test 2005{
public static void main(String args[]){
System.out.println(~(0xa5)&0xaA) ;
}
}
其运行结果是【 】
A. 0xa5
B. 10
C. 0x50
D. 0xaa
[单项选择]阅读下面程序
public class Test3
public static void main (String args[])
int x=3,y=4,z=5;
String S="xyz";
System.out.printIn(s+x+y+z);
程序运行的结果是______。
A. xyz12
B. xyz345
C. xyzxyz
D. 12xyz
[单项选择]阅读下面程序
public class Test2
public static void main (String args[])
int a=10, b=4, C=20, d=6;
System.out .printIn(a++*b+c*--d);
程序运行的结果是______。
A. 144
B. 160
C. 140
D. 164
[单项选择]已知如下代码:
public class Test
public static void main (String arg[])
longa[]=new long[10];
System.out.Println(a[6]);
下列选项正确的是( )。
A. 输出为null
B. 输出为0
C. 编译时出错
D. 运行时出错
[单项选择]阅读下面程序
public class Test4
public static void main(String[] args)
int 1=10,j=3;
float m=213.5f,n=4.0f;
System.out.println(i%j);
System.out.println(m%n);
程序运行的结果是
A. 1.0和1.5
B. 1和1.5
C. 1.0和2.5
D. 1和2.5
[单项选择]阅读下列代码:
public class Test
public static void main(String args[])
System.out.println(100%3):
System.out.println(100%3.0);
程序运行结果为 ( )
A. 1和l
B. l和1.0
C. 1.0和l
D. 1.0和1.0
[单项选择]阅读下面代码 public class Test { public static void main(String[]args) { System.out.println(2>010:8); } } 其运行的结果是
A. 2
B. 0
C. 10
D. 8
[单项选择]阅读下列代码 public class Test 2005{ public static void main(String args[]){ System.out.println(~(0xa5)&0xaA) ; } } 其运行结果是
A. 0xa5
B. 10
C. 0x50
D. 0xaa