Page 1 of 1
About Question enthuware.ocajp.i.v8.2.1352 :
Posted: Sun Feb 10, 2019 11:57 am
by flex567
Code: Select all
A continue causes the next iteration of the loop to start
I thouhgt that update section is first executed before next iteration of the loop is started.?
Re: About Question enthuware.ocajp.i.v8.2.1352 :
Posted: Sun Feb 10, 2019 9:25 pm
by admin
1. There is no update section in the while loop.
2. Actually, the updation section (if it is a for loop) and the condition is also checked before the next iteration of the loop is executed but the explanation is talking in general about the continue statement. It is not a complete and detailed discussion of the continue statement. But we will enhance it to make it more clear.
thank you for your feedback!
Paul.