What will the following code print out when it is run? int[] a {2, 5, 7}; int[] b= {1, 3, 4}; int[] c = a, a[0] = b[1];
Posted: Sun Jul 10, 2022 11:29 am
What will the following code print out when it is run? int[] a {2, 5, 7}; int[] b= {1, 3, 4}; int[] c = a, a[0] = b[1]; c[1] = a[0]; System.out.print(a[1]); O O 3 2