DonX DonX - 2 months ago 10
Java Question

Difference between break and continue statement

Can anyone tell me the difference between

break
and
continue
statements?

Answer

break leaves a loop, continue jumps to the next iteration.

Comments