What is the output of the following Java code?int num = 15;while (num > 0)      num = num - 3;System.out.println(num);

A. 0
B. 3
C. 12
D. 15


Answer: A

Computer Science & Information Technology

You might also like to view...

When compiling a generic class, the __________ option should be used to view the unchecked warning message.

a. -Xlint:unchecked. b. -X:unchecked. c. -warning:unchecked. d. -unchecked.

Computer Science & Information Technology

What is hop count?

a. A value typically assigned by a network administrator that takes into account bandwidth and expense b. The number of routing devices a data packet must pass through to reach the destination network c. The data capacity of the networking link; a Fast Ethernet 100Mbps link has greater data capacity than a 10Mbps Ethernet link d. The measured delay time in terms of clock ticks, where each tick is approximately 55 milliseconds (1?18 second)

Computer Science & Information Technology

Always enter the

tags at the same time so you don't forget to insert the end tag.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

____, such as text editors, are sometimes organized into collections called program libraries.

A. Programming tools B. Office tools C. Packages D. Utilities

Computer Science & Information Technology