The break statements transfers the flow of statement out of the loop
Answers
Answered by
0
Answer:
itsutdjyfh
Explanation:
tylflyfgkxky
Answered by
5
Here is you statement ;
The break statement is one of Java's "jump statements", since it transfers the code execution to another part of code. We've already seen the break keyword used in the switch statement. We'll revisit it here, along with other use cases:
- It can be used to stop execution of a switch statement case, instead of letting it continue executing code for following cases as well.
- It can be used to exit a loop before it has finished all its iterations, or as a form of exiting purposefully-created infinite loops.
- It can be used as an acceptable form of the "go-to" statement when we have multiple nested loops.
Similar questions
Social Sciences,
2 months ago
English,
2 months ago
Social Sciences,
11 months ago
Math,
11 months ago
English,
11 months ago