What output will be displayed as a result of executing the following code?
int x = 5, y = 20;
X += 32;
Y /= 4;
System.out.println("x = " + x + ", y = " + y) ;
A) x = 160, y = 80
B) x = 32, y = 4
C) x = 37, y = 5
D) x = 9, y = 52
Correct Answer:
Verified
Q27: Variables of the boolean data type are
Q28: Which of the following statements is invalid?
A)
Q29: What would be displayed as a result
Q30: In Java, _ must be declared before
Q31: What is the value of z after
Q33: The primitive data types only allow a(n)
Q34: In the following Java statement, what value
Q35: Which of the following statements correctly creates
Q36: The boolean data type may contain which
Q37: If the following Java statements are executed,
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents