

MCQOPTIONS
Saved Bookmarks
1. |
What is the valid data type for variable a to print Interview Mania ?
switch(p) { System.out.println("Interview Mania"); } |
A. | byte and short |
B. | char and long |
C. | byte and char |
D. | int and float |
E. | None of these |
Answer» D. int and float | |