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.

Computer Science & Information Technology

You might also like to view...

Hold down the ________ key to select nonadjacent cells

A) Alt B) Spacebar C) Ctrl D) F2

Computer Science & Information Technology

Site templates provide a foundation for quickly creating content and deploying a SharePoint library

Indicate whether the statement is true or false

Computer Science & Information Technology