// // array man. // import java.util.Scanner; class Array1 { public static void main(String[] args) { Scanner input = new Scanner(System.in); final int MAX = 1000000; int[] bigdata; bigdata = new int[MAX]; // Q1: make the first element be 12? bigdata[0] = 12; // Q2: make the tenth one 7? bigdata[9] = 7; // Q3: make the 2nd one be one more than first? bigdata[1] = bigdata[0]+1; // 13 // Q4: out the 2nd to the monitor? System.out.println("2nd one: " + bigdata[1]); // Q5: out the last datum? System.out.println("last one: " + bigdata[MAX-1]); // Q6: read the value of the last element from the keyboard? //bigdata[MAX-1] = input.nextInt(); // Q7: make all 100? for(int i=0; i