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...

In a table, press Shift + Tab to move to the next cell

Indicate whether the statement is true or false

Computer Science & Information Technology

What are the three most common encryption protocols for wireless security? Which is the strongest? Which is the weakest?

What will be an ideal response?

Computer Science & Information Technology