KnowledgeBoat Logo
|

Computer Applications

Give two differences between 'Break' and 'Continue'.

Java Nested for Loops

19 Likes

Answer

breakcontinue
It is used to unconditionally jump out of the loopIt is used to unconditionally jump to the next iteration of the loop, skipping the remaining statements of the current iteration.
It is used in switch-case and loopsIt is only used in loops.

Answered By

10 Likes


Related Questions