Solved

What Is the Output of the Following Code:​ LoopCount =

Question 49

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions