Computer Applications
Differentiate between Break and continue
Java Nested for Loops
64 Likes
Answer
- break statement is used to unconditionally jump out of the loop whereas continue statement is used to unconditionally jump to the next iteration of the loop, skipping the remaining statements of the current iteration.
- break statement is used in switch-case and loops whereas continue statement is only used in loops.
Answered By
44 Likes