Chapter IV Flashcards
Using operators and decision constructs
1
Q
Data type supported by SWITCH statements
A
- int and Integer
- byte and Byte
- short and Short
- char and Character
- String
- enum values
- var (if the type resolves to one of the preceding types)