Array Index always start with 0 position. Example 1 public class Ex1{ public static void main(String[] args) { int numbers[]; numbers = new int[6]; numbers[0] = 30; numbers[1] = 25; numbers[2] = 20; numbers[3] = 15; numbers[4] = 5; for(int x=0; x<5; x++) { System.out.println("Numbers " +(x+1) + " is " + numbers[x]) ; } } } Output Numbers …