Question: After the following java statements are executed in java, which of the choices will be true? int x = 2 1 , y = 3
After the following java statements are executed in java, which of the choices will be true?
int x y ;
y x;
A Both variables x and y will contain the same value in the memory.
B y will contain and x will contain in the memory.
C y will contain and x will contain in the memory.
D Both variables x and y will contain the same value in the memory.
E x will contain and y will contain in the memory.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
