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:

Verified
Correct Answer:
Verified
Related Questions
Q31: What is the result of the following
Q32: What is the result of the following
Q33: Given the declaration double r;, which of
Q34: If x has been declared an int,
Q35: To display the output on the next
Q37: Which one of the following would contain
Q38: What will be displayed as a result
Q39: What is the result of the following
Q40: A variable's scope is the part of
Q41: In the following Java statement what value