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


c. x = 37, y = 5

Computer Science & Information Technology

You might also like to view...

Given the following pseudocode variable declaration, which of the statements shown would return True?

``` Declare String lunch = "Spaghetti is stringy!" ``` a. isLower(stringy) b. isLower(lunch[0]) c. isLower(lunch[3])] d. isWhiteSpace(lunch[10])

Computer Science & Information Technology

Which of the following statements is false?

a. InputStream and OutputStream are abstract classes for performing byte-based I/O. b. Tubes are synchronized communication channels between threads. c. A filter stream provides additional functionality, such as aggregating data bytes into meaningful primitive-type units. FilterInputStream and FilterOutputStream are typically extended, so some of their filtering capabilities are provided by their concrete subclasses. d. A PrintStream performs text output. System.out and System.err are PrintStreams.

Computer Science & Information Technology

Once Waze converts a spoken command to text, it must determine the correct action to perform, which requires:

a. JSON b. speech recognition c. natural language processing d. speech synthesis

Computer Science & Information Technology

When referential integrity is enforced, you cannot enter a(n) ________ key in a related table unless the primary key exists in the primary table

Fill in the blank(s) with correct word

Computer Science & Information Technology