KnowledgeBoat Logo
|

Computer Applications

What is the use of break statement in Java?

Java Iterative Stmts

2 Likes

Answer

The break statement terminates the current loop or switch statement. The execution then continues from the statement immediately following the current loop or switch statement.

Answered By

1 Like


Related Questions