Number Of Page View:100,000+/Months
LOGIN |New User


Using do-while Loops
The following shows a do-while statement in action:
do {
System.out.println("Inside loop");
} while(false);
The System.out.println() statement will print once, even though the expression evaluates to false. The do-while loop will always run the code in the loop body at least once.
Posted By: Name:Rajesh Kr URL: Using do-while Loops