switch (20){ case 10: System.out.println("10"); break; case 20: System.out.println("20"); break; default: System.out.println("Sorry"); }