4
answers
0
watching
290
views
31 Jan 2018
c) public class ReferenceTest 3 ! public static void methodThree (int[] x, int[] y) { x[0] ++; x = new int [5); y = x; y [0] ++; public static void main(String[args) { int a = (1,2,3); intl) b = (3,4,5); methodThree (a,b); //IS THE DATA STORED OR REFERRED TO BY a THE SAME? (ANSWER IN CHART) //IS THE DATA STORED OR REFERRED TO BY THE SAME? (ANSWER IN CHART)
c) public class ReferenceTest 3 ! public static void methodThree (int[] x, int[] y) { x[0] ++; x = new int [5); y = x; y [0] ++; public static void main(String[args) { int a = (1,2,3); intl) b = (3,4,5); methodThree (a,b); //IS THE DATA STORED OR REFERRED TO BY a THE SAME? (ANSWER IN CHART) //IS THE DATA STORED OR REFERRED TO BY THE SAME? (ANSWER IN CHART)
28 Jun 2023
Already have an account? Log in
gloryolalere280Lv10
20 Nov 2022
Already have an account? Log in
Jamar FerryLv2
2 Feb 2018
Already have an account? Log in