What is the output of the following code:
 
loopCount = 1;while(loopCount < 3){   System.out.println("Hello");   loopCount = loopCount + 1;}

A. Hello
B. HelloHello
C. HelloHelloHello
D. HelloHello

Answer: B

Computer Science & Information Technology

You might also like to view...

You can have as many pinboards as you want, organized by ________ or topic

Fill in the blank(s) with correct word

Computer Science & Information Technology

When the default body or heading font in a document is changed, all new text in that document will use the new font

Indicate whether the statement is true or false

Computer Science & Information Technology