Java - Arrays
What will be the output of this Java code?
int[] arr = new int[3]; arr[0] = 10; arr[1] = 20; System.out.println(arr[2]);
int[] arr = new int[3]; arr[0] = 10; arr[1] = 20; System.out.println(arr[2]);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions