Explain how break statement and continue statement is different from each other?
Answers
Answered by
1
Answer:
The main difference between break and continue is that break is used for immediate termination of loop. On the other hand, 'continue' terminate the current iteration and resumes the control to the next iteration of the loop.
Similar questions