public class selection5 { public static void main(String[] args) { // Syntax 5: // many $else if$s // if (c1) // s1; // else if (c2) // s2; // else if (c3) // s2; // else if (c3) // s3; // and so forth // can also have an optional $else$! int x = -1; if (x==3) System.out.println("3!"); else if (x==2) System.out.println("2!"); else if (x==1) System.out.println("1!"); else System.out.println("something else!"); } }