How many times do while loop will be executed if condition is false in java
Answers
Answered by
76
Answer -
Do while loop will execute at least 1 time wheather condition is true or false.
Answered by
0
while loop is executed once before the condition is checked. Its syntax is: do { // body of loop; } while (condition); ... If the condition evaluates to true , the body of the loop inside the do statement is executed again.
Similar questions
Biology,
5 months ago
Math,
5 months ago
Geography,
10 months ago
Political Science,
10 months ago
Math,
1 year ago