Question 16 / 28:  class Swill {

public static void main(String[] args) {

String s = "-";

switch(TimeZone.CST) {

case EST: s += "e";

case CST: s += "c";

case MST: s += "m";

default: s += "X";

case PST: s += "p";

}

System.out.println(s);

}

}

enum TimeZone {EST, CST, MST, PST }

What is the result?

A  -cmpX
B  cmpx
C  -Xpcm
D  -cmXp
<< First < Previous Flashcard Next > Last >>
Quiz Home Page
https://www.jobilize.com/prateek-ashtikar-scjp-online-exam-310-065

SCJP Online Exam 310-065

Author:

Access: Public Instant Grading

Ask
Darlene Paliswat
Start Test
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/prateek-ashtikar-scjp-online-exam-310-065" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>