public class Driver { public static void main(String [] args) { final int SIZE = 3; // Step 1: create the array variable int[] grades; // Error: no array created yet // grades[0] = 4; // Step 2: Create array grades = new int[SIZE]; // Step 3: Initialize the array for (int i = 0; i < SIZE; i++) { grades[i] = i; System.out.println(grades[i]); } } }