Advertisements
Advertisements
Question
When break statement is applied, it terminates the loop.
Options
True
False
MCQ
True or False
Solution
This statement is True.
Explanation:
In Java (and other programming languages), the break command ends a loop immediately. When a break statement is met, the control departs the current loop and advances to the statement that follows the loop.
shaalaa.com
Is there an error in this question or solution?