

MCQOPTIONS
Saved Bookmarks
1. |
switch(x) { default: System.out.println("Hello"); } Which two are acceptable types for x? byte long char float Short Long |
A. | 1 and 3 |
B. | 2 and 4 |
C. | 3 and 5 |
D. | 4 and 6 |
Answer» B. 2 and 4 | |