...

/

Break Statement

Break Statement

This lesson describes the break statement.

What Is a break Statement?

The break statement terminates the loop. It is generally placed inside a conditional statement so that the loop terminates if the associated condition is true.

The following illustration explains the concept of a ...