Solved

What Will Be Displayed After the Following Statements Have Been

Question 36

Multiple Choice

What will be displayed after the following statements have been executed? int x = 15, y = 20, z = 32;
X += 12;
Y /= 6;
Z -= 14;
System.out.println("x = " + x +
", y = " + y +
", z = " +z) ;


A) x = 27, y = 3.333, z = 18
B) x = 27, y = 2, z = 18
C) x = 27, y = 3, z = 18
D) x = 37, y = 14, z = 4

Correct Answer:

verifed

Verified

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

Related Questions