public class For1 { public static void main(String[] args) { int i; //unhappy that variable is uninitialized for (i = 1; i <= 10; i = i + 1) { //No ; after ) System.out.println(i); } System.out.println("After the loop is over, i is " + i + "."); } }