When break statement is applied, it terminates the loop.
Advertisements
प्रश्न
When break statement is applied, it terminates the loop.
विकल्प
True
False
MCQ
सत्य या असत्य
Advertisements
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
