Solved

What Would Be the Results After the Following Code Was

Question 41

Multiple Choice

What would be the results after the following code was executed? int[] x = {23, 55, 83, 19};
Int[] y = {36, 78, 12, 24};
X = y;
Y = x;


A) x[] = {36, 78, 12, 24} and y[] = {23, 55, 83, 19}
B) x[] = {36, 78, 12, 24} and y[] = {36, 78, 12, 24}
C) x[] = {23, 55, 83, 19} and y[] = {23, 55, 83, 19}
D) This is a compilation error

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions