The absence of which statement leads to fall through situation in switch case statement?
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]
