Q. What is the output of the following code?
Code:int[] arr = new int[5]; System.out.println(arr[0]);
β
Correct Answer: (A)
0
Explanation: The default value of an int array is 0.