+ 3
What is the main difference between while and do while loop in Java?
3 ответов
+ 8
You can find your answer here
https://techdifferences.com/difference-between-while-and-do-while-loop.html
+ 5
While loop is also call entry loop
And
Do while loop is also called exit loop.
Only difference between these two loops is that, in while loops, test expression is checked at first but,
in do...while loop code is executed at first then the condition is checked.
while(condition)
{ statement(s); }
do { statement(s); }
while(condition);
+ 2
Thanks :)