What will be displayed when the following code is executed?

```
int number = 6;
while (number > 0) {
number -= 3;
System.out.print(number + " ");
}
```
a. 6 3 0
b. 6 3
c. 3 0
d. 3 0 -3
e. 0 -3

c. 3 0

Computer Science & Information Technology

You might also like to view...

Which are two requirements for vMotion without shared storage? (Choose two.)

A. The source host must have access to the destination storage. B. The hosts must be licensed with vSphere Enterprise Plus. C. The destination host must have access to any RDM LUNs. D. The source and destination hosts must have identical CPUs. E. Hosts must be running vSphere 5.1 or later.

Computer Science & Information Technology

Which of the following statements is false?

a. The command window in Windows is called a Command Prompt. b. The command window in OS X is called a Terminal. c. The command window in Linux is called the shell. d. All of the above are true.

Computer Science & Information Technology