Solved

What Will Be the Displayed When the Following Code Is

Question 16

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 = 4
B) x = 22, y = 26
C) x = 22, y = 88
D) Nothing, this is an error

Correct Answer:

verifed

Verified

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

Related Questions