class ArrayTest { public static void main(String[] args) { int[] myArray = new int[100]; myArray[0] = 2; myArray[4] = myArray[0] + 1; System.out.println(myArray[4]); myArray[99] = 2; myArray[100] = 2; } }