12345678910



Question 1: What will be the output of the following code?
int[] arr = new int[9];
System.out.println(arr[0]);

1. 0
2. Some Junk Value
3. error because array is not initialized
4. error because index must be greater than 0