Pokazuje błąd w 14 linijce a ja nie mogę go znaleźć :/
package pl.codegym.task.task07.task0719;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/*
Wyświetl liczby w odwrotnej kolejności
*/
public class Solution {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> lista = new ArrayList<Integer>();
for(i=0; i<lista.size; i++){
int s = Integer.parseInt(reader.readLine());
lista.add(s);
}
for(int i=0; i<10; i++){
int j = lista.size() -i -1;
System.out.pprintln(lista.get(j));
}
//tutaj wpisz swój kod
}
}