Which of the following statements is true?
a. Strings can be used in a switch statement’s controlling expression and in its case labels.
b. Strings can be used in a switch statement’s controlling expression but not in its case labels.
c. Strings cannot be used in a switch statement’s controlling expression but can be used in its case labels.
d. Strings cannot be used in a switch statement’s controlling expression and cannot be used in its case labels.
a. Strings can be used in a switch statement’s controlling expression and in its case labels.
You might also like to view...
Cyan, magenta, and yellow are known as what type of primary colors?
What will be an ideal response?
A TextModel object can be animated with nearly any behavior we can imagine.
Answer the following statement true (T) or false (F)