Computer Applications
State whether the following statement is True or False :
The while loop is an exit-controlled loop.
Related Questions
How many times will the following loop execute?
public static void main(String args[]) { int i = 1; while (i < 10) if (i++ % 2 == 0) System.out.println(i); }- 4
- 5
- 0
- 10
State whether the following statement is True or False :
To execute a do-while loop, the condition must be true in the beginning.
State whether the following statement is True or False :
The while part of a do-while statement must be terminated by a semicolon.
State whether the following statement is True or False :
The continue statement terminates the current loop and then continues from the statement immediately following the current loop.