This example shows you how to use the Java switch statement.

Unlike if-then and if-then-else, the switch statement allows for any number of possible execution paths. A switch works with the byte,...