English

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

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?
Chapter 1.1: Nested Loop - EXERCISES [Page 145]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.1 Nested Loop
EXERCISES | Q II. 7. | Page 145
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×