हिंदी

When break statement is applied, it terminates the loop. - Computer Applications

Advertisements
Advertisements

प्रश्न

When break statement is applied, it terminates the loop.

विकल्प

  • True

  • False

MCQ
सत्य या असत्य

उत्तर

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.1: Nested Loop - EXERCISES [पृष्ठ १४५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.1 Nested Loop
EXERCISES | Q II. 7. | पृष्ठ १४५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×