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

Given the following information: The result of =OR( A4>B4, C1>B3, B3=A5 ) is ________

Indicate whether the statement is true or false

Computer Science & Information Technology

When you export a blend, each object in the blend will be one frame.

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

Computer Science & Information Technology

Inappropriate slides can be deleted from a kiosk presentation by right clicking its thumbnail and selecting Delete from the shortcut menu

Indicate whether the statement is true or false

Computer Science & Information Technology

Which dialog box lets you show, hide, or rearrange the order of the fields in List View?

A. Print B. New Search Folder C. Show Columns D. Reminders Window

Computer Science & Information Technology