PPT Slide
The switch statement can only be used with
the following types:
int, char, short & byte
(You can cast floats, doubles, etc.)
The case values must all be of the same type.
The case values must all be
FINAL constants.
Multiple Selections via switch--Notes
Previous slide
Next slide
Back to first slide
View graphic version