Geekific
What will be the output of the following code? -------------------- public static void main(String[] args) { int[] arr = new int[6]; System.out.println(arr[arr.length]); }
9 months ago | [YT] | 7
Geekific
What will be the output of the following code?
--------------------
public static void main(String[] args) {
int[] arr = new int[6];
System.out.println(arr[arr.length]);
}
9 months ago | [YT] | 7