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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly