题目内容

给出下面代码段: public class Test{ public static void main(String args[] ) { int m; switch(m) { case 0: System.out.println("case 0"); case 1: System.out.println("case 1"); break; case 2: break; default: System.out.println("default"); } } } 下列m的值能引起输出“default”的是( )。

A. 0
B. 1
C. 2
D. 4

查看答案
更多问题

Where do you think the woman work

A. none.
B. One dollar.
C. 100 dollars.

Why is Ruth unhappy today

A. In a school.
B. In a factory.
C. In an office.

Where do you think the woman work

A. It’s not clear.
B. No, she wasn’t.
C. Yes, she was.

here and there

答案查题题库