Showing articles with grouping. Show all articles
The switchstatement evaluates an expression, matching the expression's value to a case clause, and executes statements associated with that case, as well as statements in cases that follow the matching case.