Multiple Choice Question

Quiz Guidelines



Which of the following statements concerning the switch construct are true?

Select 3 options

A. A character literal can be used as a value for a case label.
B. A 'long' cannot be used as a switch variable.
C. An empty switch block is a valid construct.
D. A switch block must have a default label. 
E. If present, the default label must be the last of all the labels.

Q&A Set: