Java Switch Statements | tutorials.jenkov.com
This tutorial explains how Java's switch statement works. ... A switch statement works a bit like an if statement, except it can choose between more than two blocks of code to execute. Here is a simple example:...