The case is used to label each branch in a switch statement.
int arg = <some value>; switch (arg) { case 1: <statements> break; case 2: <statements> break; default: <statements> break; }
A case block does not have an implicit ending point. A break statement is typically used at the end of each case block to exit the switch statement.
Without a break statement, the flow of execution will flow into all following case and/or default blocks.