(Choose 1 answer)
Which statement is true about the following code fragment?
1. int j = 2;
2. switch (j) {
case 2:
System.out.println("value is two");
5. case 2+1:
34567 7..34.
6. System.out.println("value is three");
break;8. default:
9.System.out.println("value is " + j);
10. break;
11.}
A. The code is illegal because of the expression at line 5.
B. The acceptable types for the variable j, as the argument to the switch() construct, could b short, int, or long.
C. The output would be the text value is two.
D. The output would be the text value is two followed by the text value is three.
E. The output would be the text value is two, followed by the text value is three, followed by
Edt (26