【C4】A.decideB.makeC.setD.set up
【C4】
A.decide
B.make
C.set
D.set up
【C4】
A.decide
B.make
C.set
D.set up
第1题
下面程序段的输出结果为 public class MyClass { public static void main(String args[]) { String s="Hello! How are you?"; System.out.println(s.LastIndexOf("o",16); } }
A.16
B.o
C.u
D.17
第2题
第3题
执行下面程序段的输出结果为()。 public class Q { public static void main(String argv[]) { int anar[]一new int[5]; System.out.println(anar[0]); } }
A.0
B.1
C.2
D.5
第4题
执行下面程序段的输出结果为()。 public class Q { public static void main(String argv[]) { int anar[]一new int[5]; System.out.println(anar[0]); } }
A.0
B.1
C.2
D.5
第5题
下面代码段的输出结果为()。 public class Test { public static void main(String sss[]) { int i=0xFFFFFFF1; int j=~i; } }
A.0
B.1
C.14
D.-15
第6题
下面代码段的输出结果为()。 public class Test { public static void main(String sss[]) { int i=0xFFFFFFFl; int j=~i; } }
A.0
B.1
C.14
D.-15
第7题
执行下面的程序段,输出结果为______。
public class Q
{
public static void main(String argvr))
{
int anar[]=new int[5];
System.out.println(anar[0]);
}
}
第8题
执行下面的程序段,输出结果为【 】。 public class Q { public Static Void main(String args[]) { int anar[]=new int[5]; System.out.println(anar[0]); } }
第9题
下面程序执行后的输出结果为()。 public class fun { public static void main(String args[]) { String greets = " How are you!"; String s = greets.substring(0,3); System.out.println(s); } }
A.How
B.are
C.you
D.how are you!
第10题
A.null
B.有错误,变量i没有初始化
C.1
D.0
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!