Java · Decisions

switch

When one value picks among many fixed cases, a switch lists them side by side, with one trap to watch for.