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