int[] array1 = {1, 3, 5, 7}

for(int i =0; i if(array1[i] > 5)
System.out.println(i +" " + array1[i]);


Which indices are in bounds for the array array1, given thedeclaration above?

0, 1, 2,3
1, 2, 3,4
1, 3, 5,7
0, 1, 3,5