class Two { public static void main(String[] args) { int x = 3; if (2 > x) System.out.print(1); else System.out.print(2); // prints 2 if (x < 2) { // will that work? I guess so... System.out.println(3); System.out.print(4); } else { // could be here, empty } } // maybe an error? No, just 2. }