Java for Testers #14 – How to use Break and Continue in Java

In this Java for Testers tutorial, we will learn how to use Break and Continue in Java. Break statement in Java breaks the loop or switch statement and the program control is moved to the next statement after the loop.

Continue statement in Java continues the current flow of the program and skips the remaining code in the iteration and jumps to the next iteration immediately. Watch the full tutorial to understand how to use a break and continue in any Java program.