A
Q. What is the output of the following code?
Code:
int[] arr = new int[]{1, 2, 3, 4, 5};
System.out.println(arr[5]);
System.out.println(arr[5]);
- Correct Answer - Option(D)
- Views: 9
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.