Which three are valid types for switch?
A.
int
B.
float
C.
double
D.
Integer
E.
String
F.
Float
Explanation:
A switch works with the byte, short, char, and int primitive data types. It also works with enumerated types the String class, and a few special classes that wrap certain primitive types:
Character, Byte, Short, and Integer.
http://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html
ADE
The Answer is A, D, E.
A switch works with the byte, short, char, and int primitive data types. It also works with enumerated types (Enum), the String class, and a few special classes that wrap certain primitive types: Character, Byte, Short, and Integer (discussed in Numbers and Strings).
Remember biscS (byte, int, short, char, and String)