Solved

What Is the Output of the Following Code: LoopCount =

Question 40

Multiple Choice

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


A) Hello
B) Hello Hello
C) Hello Hello
Hello
D) HelloHello

Correct Answer:

verifed

Verified

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

Related Questions