Hello in this task the last 2 points are not correct but why? Thanks in advance!
package de.codegym.task.task07.task0704;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Das Array umdrehen
*/
public class Solution {
public static void main(String[] args) throws Exception {
//schreib hier deinen Code
int[] array1 = new int[10];
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
for(int i = 0; i < array1.length; i++) {
array1[i] = Integer.parseInt(reader.readLine());
}
for(int j = array1.length; j >= 0; j--) {
System.out.println((array1[j]));
}
}
}