1.

What is the printout of the following switch statement?char ch = 'a';switch (ch){case 'a':case 'A': System.out.print(ch); break;case 'b':case 'B': System.out.print(ch); break;case 'c':case 'C': System.out.print(ch); break;case 'd':case 'D': System.out.print(ch);}

A. bcd
B. a
C.
D. b
Answer» D. b


Discussion

No Comment Found