// // Name: ReviewArray1.java // // ... public class ReviewArray1 { public static void main(String[] args) { // declare an array myArr that can hold 30 integers int[] myArr = new int[30]; // make the first as 12 myArr[0] = 12; // set the 10th as 10 myArr[9] = 10; // output the 10th to the monitor System.out.println("10th one = " + myArr[9]); System.out.println("\n\n\nDone.\n\n"); } }