Computer Science, asked by saisunil72, 9 months ago

Define break statement in BlueJ for icse

Answers

Answered by grim41
1

Answer:

Java Break Statement :

When a break statement is encountered inside a loop, the loop is immediately terminated and the program control resumes at the next statement following the loop.

The Java break is used to break loop or switch statement. It breaks the current flow of the program at specified condition. In case of inner loop, it breaks only inner loop.

We can use Java break statement in all types of loops such as for loop, while loop and do-while .

MARK IT AS BRAINLIST ANSWER .

Similar questions