Computer Science, asked by ry8061973, 5 months ago

The break statements transfers the flow of statement out of the loop

Answers

Answered by sardaarjisinghsaab8
0

Answer:

itsutdjyfh

Explanation:

tylflyfgkxky

Answered by MissPhenomenal
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