Mary ______ her keys in her office and she had to ______ out of the house.A.forgot, keepB.
Mary ______ her keys in her office and she had to ______ out of the house.
A.forgot, keep
B.forget, keep
C.left, be kept
D.leaved, be kept
Mary ______ her keys in her office and she had to ______ out of the house.
A.forgot, keep
B.forget, keep
C.left, be kept
D.leaved, be kept
第1题
下列代码的执行结果是()。 public class Test { public static void main(String args[]) { System.out.println(7/2); } }
A.3.5
B.3
C.3.0
D.3.50
第2题
下列代码的执行结果是()。 public class Test{ public static void main (String args[ ]){ System.out.println(5/2): } }
A.2.50
B.2
C.2.5
D.2.0
第3题
下列代码的执行结果是()。 public class Test { public static void main(String args[ ]) { System.out.println(5/2); System.out.println(100%3.0); } }
A.2和1
B.2和1.0
C.2.5和1
D.2.5和1.0
第4题
下列代码的执行结果是 public class Test{ public int aMethod() { static int i=0; i+ +; System.out.println(i); } public static void main(String args[ ]){ Test test = new Test(); test.aMethod(); } }
A.编译错误
B.0
C.1
D.运行成功,但不输出
第5题
下列代码的执行结果是()。 public class Test { public static void main(String args[]) { int a=4,b=6,c=8; String s="abc"; System.out.println(a+b+s+c); System.out.println(); } }
A.ababcc
B.464688
C.46abc8
D.10abc8
第6题
下列代码的执行结果是()。 public class Test { public static void main(String args[]) { System.out.println(5/2); System.OUt.println(100%3.O) } }
A.2和1
B.2和1.0
C.2.5和1
D.2.5和1.0
第7题
下列代码的执行结果是()。 public class Test { public static void main(String args[]) { System.out.println(5/2); System.OUt.println(100%3.O) } }
A.2和1
B.2和1.0
C.2.5和1
D.2.5和1.0
第8题
下列代码的执行结果是()。
public class Test{
public int aMethod(){
static int i=0;
i++;
System.out.println(i):
}
public static void main (String args[]){
Trest test=new Test ();
test aMethod():
}
}
A.编译错误
B.0
C.1
D.运行成功,但不输出
B.
C.
D.
第9题
下列代码的执行结果是public class Test{ public int aMethod(){ static int i=0; i++; System.out.println(i); } public static void main(String args[]){ Test test= new Test(); test. aMethod(); }}
A.编译错误
B.0
C.1
D.运行成功,但不输出
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!