class ShowQuarter2 { public static void main (String args[]) { int taxMonth = 10; String taxQuarter; // The break statement jumps out of the conditional testing switch (taxMonth) { case 1: case 2: case 3: taxQuarter = "1st Quarter"; break; case 4: case 5: case 6: taxQuarter = "2nd Quarter"; break; // more conditions would appear here default: taxQuarter = "Not Valid"; } // end of the switch System.out.print("Your current Tax Quarter is: " + taxQuarter); } // end of the main() method } // end of the class