Difference between break and continue statement

Break | Continue |
---|---|
can be used in switch statement | cannot be used in switch statement |
causes premature exit of the loop | causes skipping of the statements following it in the body of the loop |
The control is transferred to the statement of the loop | control is transferred back to the loop |
The loop may not complete the intended number of iterations | The loop completes the intended number of iterations. |