English

The absence of which statement leads to fall through situation in switch case statement?

Advertisements
Advertisements

Question

The absence of which statement leads to fall through situation in switch case statement?

Options

  • Continue

  • Break

  • Return

  • System.exit(0)

MCQ
Advertisements

Solution

Break

Explanation:

The break is a jump statement that terminates the switch case block. In its absence, the flow of control falls through the following cases of the matching case.

shaalaa.com
Introduction of Conditional Statements in Java
  Is there an error in this question or solution?
Chapter 1: Revision of Class 9 Syllabus - Exercises [Page 44]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 1 Revision of Class 9 Syllabus
Exercises | Q 1. (xxix) | Page 44
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×