// // 30 students // import java.util.Scanner; class ReviewArray { public static void main(String[] args) { Scanner input = new Scanner(System.in); // declare an array stu holding up to 30 names? String[] stu = new String[30]; // let the 1st, last, 10th ones as "Joe Smith", "April Lee", "Gene Will"? stu[0] = "Joe Smith"; stu[29] = "April Lee"; stu[9] = "Gene Will"; // read the 2nd element from the keybaord? System.out.print("Input the 2nd one: "); stu[1] = input.nextLine(); // out ALL elements of the array to the monitor? for(int i=0; i<30; i++) System.out.println(stu[i]); System.out.println("\n\nDone.\n\n"); } }