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