Multiple choice technology programming languages

What is the purpose of the break statement?

    1. It jumps out of the loop back to the calling method.
    1. It jumps out of the loop to the next statement after the loop.
    1. It stops the execution of the program and of the virtual machine.
    1. It stops the innermost iteration and continues with the next iteration of the loop.
Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The break statement immediately terminates the innermost enclosing loop or switch statement and transfers execution to the first statement after that construct. It does not return to the calling method (that's return), nor does it start the next iteration (that's continue).