Multiple choice technology programming languages

The "switch" selection structure must end with the default case.

  1. True

  2. False

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

In programming languages like C, C++, and Java, the default case in a switch selection structure is entirely optional. A switch statement is fully valid without including a default branch.