English

The ______ break is used to terminate the outer loop from the block of inner loop. - Computer Applications

Advertisements
Advertisements

Question

The ______ break is used to terminate the outer loop from the block of inner loop. 

Options

  • Level

  • Labelled

  • Unlabelled

  • Forced

MCQ
Fill in the Blanks

Solution

The labelled break is used to terminate the outer loop from the block of inner loop. 

Explanation:

In Java, an outer loop can be ended from within an inner loop with a labelled break. You can indicate which loop should be broken when the break statement is reached by using a label. 

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.1: Nested Loop - EXERCISES [Page 144]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.1 Nested Loop
EXERCISES | Q I. 2. | Page 144
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×