What is displayed if x is

Consider the following fragment of code:
```
if (x > 5)
{
System.out.println(“A”);
if (x < 10)
System.out.println(“B”);
}
else
System.out.println(“C”);
```

a. 4; b. 5; c. 6; d. 9; e. 10; f. 11

a) C
b) C
c) A B
d) A B
e) A
f) A

Computer Science & Information Technology

You might also like to view...

A LAN would most likely be utilized to connect ________

A) offices across a hallway B) offices across a state C) offices across the country D) offices across the world

Computer Science & Information Technology

To remove a form from view, the ____________________ procedure is used.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology