Multiple choice technology programming languages

In a switch construct the execution will continue till

  1. a match case is found

  2. a match case is found and break is encountered

  3. will continue till default

  4. none

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In a switch statement, execution continues through all cases after a match until a break statement is encountered. This 'fall-through' behavior means without break, multiple case blocks execute sequentially.