What would be displayed as a result of executing the following code?

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 = 37, y = -14, z = 4
d. x = 27, y = 3, z = 18


d. x = 27, y = 3, z = 18

Computer Science & Information Technology

You might also like to view...

A cell ________ is a collection of format settings such as font and fill colors, borders, and alignment that is based on the currently selected theme to provide a consistent appearance within a worksheet

A) layout B) style C) form D) template

Computer Science & Information Technology

Which of the following regular expression metacharacters matches any numeric character?

A. \d B. \D C. \s D. \S

Computer Science & Information Technology

What virtual network adapter type should you use if you need to support fault tolerance as well as record/replay for network traffic?

A. vlance B. e1000 C. vmxnet2 D. vmxnet3

Computer Science & Information Technology

Explain why it is important to back up your database before running an action query.

What will be an ideal response?

Computer Science & Information Technology