Solved

What Will Be Printed by the Statements Below

Question 74

Multiple Choice

What will be printed by the statements below?
Int x = 20;
Int y = x;
X++;
Y--;
System.out.print ("x = " + x + ", y = " + y) ;
X = 21, y = 19


A) x = 20, y = 20
B) x = 21, y = 20
C) x = 20, y = 19
D) x = 21, y = 19

Correct Answer:

verifed

Verified

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

Related Questions