List out the difference between break and continue.

: 747
Paper : Java FAQ (Frequently Asked Questions and answers) for freshers | Platform : Object-oriented programming Language | Category : Programming FAQs

break Continue
It is used with conditional(if, if-else, switch) and loop statements(for, while, do-while). It is used only with the loop statements.
Once the statement is executed it terminated the moment and come out of the block.  Once the statement is executed it will jump to the next iteration.
It terminates the innermost loop immediately. It skips the next set of statements after continue and jump to the next iteration.