What is the purpose of the 'break' statement in Java? - Study24x7
Social learning Network
11 Mar 2024 12:11 PM study24x7 study24x7

What is the purpose of the 'break' statement in Java?

A

To terminate a loop or switch statement 

B

To skip the next iteration of a loop

C

To exit a method

D

To print a line break

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles