// Selection statements public class selection2 { public static void main(String[] args) { // Syntax 2: // no $else if$s, but an $else$ // if (c1) // s1; // else // s2 // ex) print value if it is positive // otherwise, warn user int x = -1; if (x > 0) System.out.println(x); else System.out.println("x is crrrrap!"); System.out.println("buh?"); } }