differences between while and do while loop in java
Answers
Answered by
2
Explanation:
In Java While loop, condition is tested at the beginning of the loop and if the condition is True then only statements in that loop will be executed. ... In Java Do While loop, condition is tested at the end of the loop so Do While executes the statements in the code block at least once even if the condition Fails.
Similar questions