What is the output of the following code:
?
loopCount = 1;while(loopCount < 3) System.out.println("Hello"); loopCount = loopCount + 1;
A. No output
B. HelloHello
C. HelloHelloHello
D. This is an infinite loop
Answer: D
Computer Science & Information Technology
You might also like to view...
What is cloud computing?
What will be an ideal response?
Computer Science & Information Technology
If the taskbar is hidden, you can display it by pointing to the ________ where it is located and it will display again
Fill in the blank(s) with correct word
Computer Science & Information Technology
Describe how to use the Format Painter to apply custom formatting to other places in your presentation quickly and easily.
What will be an ideal response?
Computer Science & Information Technology
_____ describes the way the components in a network interact.?
A. ?Interactive topology B. ?Physical topology C. ?Engagement topology D. ?Logical topology
Computer Science & Information Technology