bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/Java/Java Reference
Java•Java Reference

Java break Keyword

Flash cards

Review the key moves

1/4
Core idea

What is the main idea behind Java break Keyword?

Lesson checks

Practice each idea before moving on

Short Mimo-style checks built from this lesson's code, terms, and sequence.

1Quick choice

Which statement best captures the main point of this lesson?

2Order

Put the learning moves in the order that makes the concept easiest to apply.

The break keyword is used to break out a for loop, a while loop or a switch block.
Definition and Usage
Java break Keyword

❮ Java Keywords

i

Definition and Usage

The break keyword is used to break out a for loop, a while loop or a switch block.

Related Pages

Use the continue keyword to end the current iteration in a loop, but continue with the next.

Read more about for loops in our Java For Loops Tutorial .

Read more about while loops in our Java While Loops Tutorial .

Read more about break and continue in our Java Break Tutorial .

❮ Java Keywords

Previous

Java boolean Keyword

Next

Java byte Keyword