Skip to content

Glossary: Java Basics

break

A statement that leaves a loop immediately. It's the usual way to end a `while (true)` loop.

Where the book teaches it

Related terms

continueLoop