- 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 1 (26.64 KiB) Viewed 48 times
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];
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 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];
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