Multiple Choice
What will be the output of the following code snippet? boolean token = false;
While (token)
{
System.out.println("Hello") ;
}
A) "Hello" will be displayed infinite times.
B) No output because of compilation error.
C) No output after successful compilation.
D) "Hello" will be displayed only once.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q71: What changes do you need to make
Q72: What is the output of the following
Q73: Which statement is correct about the execution
Q74: How many times does the following loop
Q75: What will be printed by the statements
Q77: What is the output of the following
Q78: How many times does the code snippet
Q79: Which error type does the "off-by-one" error
Q80: What values does counter variable i assume
Q81: What is the output of the following