What will be the output of the following program?
int[] arr = {1, 2, 3, 4, 5}; System.out.println(arr.length);
4
5
6
Compilation Error
This question is part of this quiz :