Which is true about the switch statement?
A. Its expression can evaluate to a collection of values.
B. The break statement, at the end of each case block, is optional.
C. Its case label literals can be changed at runtime.
D. It must contain the default section.
Option B is correct as if the break statement is present it will come out of the switch block else, it will continue till the end of the switch section
B. but if a break isn’t present, the program will execute every statement beneath it unless it hits a break or finishes the switch
B