Solved

What Will Be the Displayed When the Following Code Is

Question 19

Multiple Choice

What will be the displayed when the following code is executed?
Final int x = 22, y = 4;
Y += x;
System.out.println("x = " + x + ", y = " + y) ;


A) x = 22, y = 26
B) x = 22, y = 4
C) x = 22, y = 88
D) Nothing. There is an error in the code.

Correct Answer:

verifed

Verified

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

Related Questions