The switch Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)
public class SwitchDemoFallThrough { public static void main(String[] args) { java.util.ArrayList futureMonths = new java.util.ArrayList(); int month = 8; switch (month) { case 1: futureMonths.add("January ......