![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
社会主义精神文明建设的根本是()A.思想道德建设B.教育科学文化建设C.法制建设D.民主政治建设
社会主义精神文明建设的根本是()
A.思想道德建设
B.教育科学文化建设
C.法制建设
D.民主政治建设
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
社会主义精神文明建设的根本是()
A.思想道德建设
B.教育科学文化建设
C.法制建设
D.民主政治建设
第1题
有如下程序: public class Sun { public static void main(String args[ ]) { int s=0; int i=1; while (i<=100) { s=s+i; } System.out.println(s); } } 运行后的结果是()。
A.5050
B.5051
C.死循环,直到溢出
D.无穷大的数
第2题
有如下程序 public class Sun { public static void main (String args[ ]) { int a=2, b=1, c=2; if (a<B) if (b<0) if (c<0) c=0; else c++; System. out.println(C) ; } } 上述程序的运行结果是()。
A.0
B.1
C.2
D.3
第3题
有如下程序: public class Sun { public static void main(String args[ ]) { int s=0; int i=1; while(i<=100) { s=s+i; } System.out.println(s); } } 运行后的结果是()。
A.5050
B.5051
C.死循环,直到溢出
D.无穷大的数
第4题
A、welcome
B、home
C、无输出
第5题
下面程序段的输出结果是______。 public class ex46 { public static void main(String args[]) { String str="Hello,"; str = str + "Guys!"; System.out .println (str); } }
A.Hello, Guys!
B.Guys!
C.Hello,
D.编译不通过
第6题
有以下程序 public class Sun { public static void main(string args[ ]) { int a, b; for(a=1, b=1; a<=100; a++) { if(b>=10} break; if (b%3 1) { b+=3; continue; } } System.cut.println(A) ; } } 执行后的输出结果是()。
A.101
B.6
C.5
D.4
第7题
有如下程序 public class Sun { public static void main (String args[ ]) { int x=0; int n=0; while (x<50) { x=(x+2)*(x+3); n=n+1; System.out.println (n+"和"+x); 上述程序的运行结果是()。
A.1和0
B.2和72
C.3和50
D.4和168
第8题
有如下程序 public class Sun { public static void main(String args[ ]) { int x=0; int n=0; while(x<50) { x=(x+2)*(x+3); n=n+1; } System.out.println(n+"和"+x); } } 上述程序的运行结果是()。
A.1和0
B.2和72
C.3和50
D.4和168
第9题
有如下程序 public class Sun { public static void main(String args[ ]) { int x=1,a=0,b=0; switch(x) { case 0:b++; case 1:a++; case 2: a++; b++; } System.out.println("a="+a+","+"b="+B) } }该程序的输出结果是()。
A.a=2,b=1
B.a=1,b=1
C.a=1,b=0
D.a=0,b=0
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!