Multiple Choice
What will be the value inside the variables x and y after the given set of assignments?
Int x = 20;
Int y = 10;
X = (x - y) * 2;
Y = x / 2;
A) x = 40, y = 20
B) x = 20, y = 10
C) x = 10, y = 20
D) x = 20, y = 20
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: What is the value inside the value
Q6: What is the output of the following
Q7: What does the following statement sequence print?
Q8: What is wrong with the following code
Q10: Which one of the following is a
Q11: Assume the variable str has been declared
Q13: What is the output of the following
Q49: Which one of the following statements displays
Q55: Which statement is true?<br>A)Variables cannot be assigned
Q60: Which of the given System.out.print statements generates