1.

What is the valid data type for variable “a” to print “Hello World”? switch(a) { System.out.println("Hello World"); }

A. int and float
B. byte and short
C. char and long
D. byte and char
Answer» E.


Discussion

No Comment Found