public class Switch11 { public void basic() { switch (5) { case 1: case 2: System.out.println("OK"); break; default: } } }