Java SE 8 Programmer I (1Z0-808)
© examsiri.com
Question : 2 of 8
Marks:
+1,
-0
Given the code fragment:
Which two code fragments can be inserted at Line n1, independently, enable to print Stand?
/* Line n1*/
switch (cardVal) {
 case 4: case 5: case 6:
 case 7: case 8:
  System.out.println("Hit");
  break;
 case 9: case 10: case 11:
  System.out.println("Double");
  break;
 case 15: case 16:
  System.out.println("Surrender");
  break;
 default:
  System.out.println("Stand");
} Which two code fragments can be inserted at Line n1, independently, enable to print Stand?
Go to Question: