Back to photostream

Break keyword in java

The break keyword in programming is used to exit a loop prematurely or terminate a switch statement. Its purpose is to alter the normal flow of control within a program.In both cases, break provides a way to exit a certain block of code based on a condition.

for more free learning visit us at:

quipoin.com/view/Java/break

12 views
0 faves
0 comments
Uploaded on December 25, 2023