Regarding the Switch statement, which of the following options is false?

Regarding the Switch statement, which of the following options is false?
A . The Otherwise branch must exist.
B. Every branch that evaluates to True is executed.
C. The first branch that the condition evaluates to True is executed.
D. If no branch evaluates to True, the Otherwise branch is executed.

Answer: C

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Sahil Thakur
Sahil Thakur
8 months ago

correct answer is option B not C