Loading…

Why we used break and continue statement in Java?

When the break statement is inside a loop, the loop gets terminated and the program resumes at the next statement after the loop.

The continue statement can be used in the loop control structure. It causes the loop to jump to the next iteration.

Suggest An Answer

No suggestions avaliable!

Latest post from Core Java interview questions

Ask Question