@@ -0,0 +1,923 @@
+package com.valerysamovich.java.trail.basic.statements.switchstatement;%0A%0Apublic class SwitchDemo2 %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        %0A        // variables%0A        int month = 2;%0A        int year = 2000;%0A        int numDays = 0;%0A        %0A        // switch statement%0A        switch (month) %7B%0A            case 1: case 3: case 5: case 7: case 8: case 10: case 12:%0A                numDays = 31;%0A                break;%0A            case 4: case 6: case 9: case 11:%0A                numDays = 30;%0A                break;%0A            case 2:%0A                if (((year %25 4 == 0) && (year %25 100 == 0)) %7C%7C (year %25 400 == 0)) %7B%0A                    numDays = 29;%0A                %7D else %7B%0A                    numDays = 28;%0A                %7D%0A                break;%0A            default:%0A                System.out.println(%22Invalid month.%22);%0A        %7D%0A%0A        System.out.println(%22Number of days = %22 + numDays);%0A    %7D%0A%0A%7D%0A

Add Switch Example with multiple case labels