Q. What will be the output?
Code:
int[] arr = new int[3]; System.out.println(arr[0]);
β
Correct Answer: (A)
0
Explanation: Default value of int array elements is 0.