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:

Verified
Correct Answer:
Verified
Related Questions
Q37: Which of the given statements generates the
Q41: Which statement about number literals in Java
Q69: What does the following statement sequence print?
Q70: Which of the following statements with comments
Q71: What is the output of the following
Q72: Which is the Java equivalent of the
Q75: Which one of the following is a
Q78: ) What are the values of num1
Q79: What is the output of the following
Q116: Which one of the following operators computes