Solved

What Is Wrong with the Following Code? While (4>2)

Question 28

Multiple Choice

What is wrong with the following code? while (4>2)
 System.out.println ("Hi there") ;


A) missing curly braces
B) illegal conditional expression
C) infinite loop
D) Syntax error in the output statement

Correct Answer:

verifed

Verified

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

Related Questions