public class While { public static void main(String[] args) { int i = 1; //Deviate form a stright line. while (i <= 10) { //No semicolon after the ) System.out.println(i); i = i + 1; } System.out.println("After the loop is over, i is " + i + "."); } }