Q82 What is wrong with the following switch statement? switch(i == 10) {! I- m: I! i5 u4 `, H- v
case ‘1’:
: {8 e3 r I7 v ++i;! C7 t$ P7 D* ^! \, A. Z' x* q
break;
$ ~2 E2 ]5 H; A5 A case “2”:3 v/ E# D; o2 w5 r& X$ ?% K% k
--i;: L) b! C9 m" n# K/ m% ^5 N' L+ c
case 3:
% r+ }" R' ^2 f" u i *= 5;0 r1 Y7 H! _4 }) F' m& Q
break;
. u k1 g8 M$ i) Z1 L1 f default:
* N8 s$ X5 }0 E) v i %=3;
# p/ h+ a. H' {7 | }
( h6 ]3 l+ s+ `, Z/ n5 \ A The switch expression must evaluate to an integer value.; o$ N1 M: O! D8 _, G. k3 c: p/ C
B The first case specifies a char value.
7 }/ t; h n# \# ]/ _( x C The second case specifies a String value.
/ V* z) y ~& @7 k D There is a break statement missing in the second case.$ ]( n+ r7 g! T" O% j [1 L* Y% Q
Q83 What’s wrong with the following code?
5 o' @8 s/ d1 y0 A3 {+ w public class Question { |