¿Cuál es la salida del siguiente código?
int[] arr = {1, 2, 3, 4, 5}; System.out.println(arr[arr.length-1]);
1
Runtime Error
5
Compilation Error