Start learning →

What selection mechanism changes execution based on an expression value?

AA switch statement
BAn array indexer
CA type cast call
DA static import
Answer & Solution
Correct answer: A. A switch statement
A switch statement changes execution control based on the value of an expression.
Practise this question with Quill — ICSE Class 8 →

Keep practising Conditional Statements in Java

Browse all Conditional Statements in Java questions for ICSE Class 8, or explore more Computer Applications topics.

Start a Conditional Statements in Java lesson →