Multiple Choice
What is the output of the following code: loopCount = 1;
While(loopCount < 3)
System.out.println("Hello") ;
loopCount = loopCount + 1;
A) No output
B) Hello Hello
C) Hello Hello
Hello
D) This is an infinite loop
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q44: Match each term with the correct statement
Q45: You can initialize more than one variable
Q46: while(10 > 1) <br>{ <br> System.out.println("This prints
Q47: In order to improve loop performance, it's
Q48: Match each term with the correct statement
Q50: Match each term with the correct statement
Q51: What is the output of the following
Q52: Match each term with the correct statement
Q53: How are nested loops implemented in a
Q54: A loop controlled by the user is