Test your understanding of Java with the following:

a. What does the code int x = 3; System.out.printlndo? It prints out?
b. What does the code String firstName = "Sue"; System.out.println(firstName);
do?
c. What does the code System.out.println(2 < 3); do?
d. What does the code System.out.prinltn(2 == 3); do?
e. What does the code Ssytem.out.println(3 >= 2); do?

a. "The result is " +x ; "The result is 3".
b. It prints out, "Sue".
c. It prints out "false".
d. It prints out "false".
e. It prints out "true".

Computer Science & Information Technology

You might also like to view...

A two-dimensional array has two subscripts.

Indicate whether the statement is true or false.

Computer Science & Information Technology

After multiple objects have been inserted on a slide, the last inserted object is at the bottom of the stack

Indicate whether the statement is true or false

Computer Science & Information Technology