Question 3
Back to Exercise
In a classic switch, what happens when a case has no break?
- A A compile error
- B Execution continues into the next case's statements Correct
- C The switch restarts
- D The default runs
Correct Answer: Option B
Arrow-style cases (->) do not fall through.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!