Start learning →

What happens when the break keyword is omitted from a switch case?

AThrows an error
BProceeds to next
CHalts execution
DRepeats the case
Answer & Solution
Correct answer: B. Proceeds to next
Omitting break inside a switch case causes execution to fall through to the next label.
Practise this question with Quill — ICSE Class 10 →

Keep practising Classes, Encapsulation and Scope

Browse all Classes, Encapsulation and Scope questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Classes, Encapsulation and Scope lesson →