题目
A while
B where
C when
第1题
A.Hello!
B.Hello! Good morning!
C.Hello! Good morning! Good Bye!
D.Hello! Good Bye!
第2题
A.Hello!
B.Hello! Good morning!
C.Hello! Good morning! Bye_Bye!
D.Hello! Bye_Bye!
第3题
A.in high spirits
B.depressed
C.having a good time
D.cheerful
第4题
A.Hello!
B.Hello! Good morning!
C.Hello! Good morning! Bye_Bye!
D.Hello! Bye_Bye!
第5题
指出下列程序运行的结果good and abc。 ()public class Example{ String str=new String("good"); char[]ch={'a','b','c'}; public static void main(String args[]){ Example ex=new Example(good and abc); ex.change(ex.otr,ex.ch); System.out.print(ex.str+"and"); System.out.print(ex.ch); } public void change(String str,char ch[])} str="test ok"; ch[0]≈'g'; } }
第6题
运行下面程序时,从键盘输入字母H,则输出结果是
#include<stdio.h>
main()
{ char ch;
ch=getchar();
switch(ch)
{case ′H′:printf("Hello!\n");
case ′G′:printf("Good morning!\n");
default:printf("Bye_Bye!\n");
}
}
A.Hello!
B.Hello! Good Moring!
C.Hello! Good morning! Bye_Bye!
D.Hello! Bye_Bye!
第7题
指出下列程序运行的结果good and gbc。 ()public class Example{ String str=new String("good"); char[]ch={'a','b','c'}; public static void main(String args[]){ Example ex=new Example(good and gbc); ex.change(ex.otr,ex.ch); System.out.print(ex.str+"and"); System.out.print(ex.ch); } public void change(String str,char ch[])} str="test ok"; ch[0]≈'g'; } }
第8题
指出下列程序运行的结果 () 。public class Example{ String str=new String("good"); char[]ch={'a','b','c'}; public static void main(String args[]){ Example ex=new Example(); ex.change(ex.otr,ex.ch); System.out.print(ex.str+"and"); System.out.print(ex.ch); } public void change(String str,char ch[])} str="test ok"; ch[0]≈'g'; } }
A.good and abc
B.good and gbc
C.test ok and abc
D.test ok and gbc
第9题
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!