dsa

Java break Statement

In this tutorial, you will learn about the break statement, how to use break statement with for-loop,while-loop,do-while loop,switch statement in Java with the help of examples.

The break statement in Java programming language has the following two usages −