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...

Which editing tool would you use to enlarge an area of an image?

A) Crop B) Sharpen C) Magnify D) Zoom

Computer Science & Information Technology

Deleting a bullet in the Text Pane of a SmartArt graphic ________

A) changes the level of the corresponding shape B) deletes the corresponding shape C) has no effect on the corresponding shape D) moves the text in the next bullet to the corresponding shape

Computer Science & Information Technology