What does a break statement do in java ?
Answers
Answered by
1
Answer:
Break Statement is a loop control statement that is used to terminate the loop. As soon as the break statement is encountered from within a loop, the loop iterations stop there, and control returns from the loop immediately to the first statement after the loop.
Explanation:
Hope that helps you
Similar questions