Which of the following statements about the switch statement is false?

a. You can use Strings in a switch statement’s controlling expression.
b. You can use a String in a switch statement's case label.
c. You can use a comma-separated list of Strings in a switch statement’s case label.
d. You cannot use a String in a switch statement’s default case label.


c. You can use a comma-separated list of Strings in a switch statement’s case label.

Computer Science & Information Technology

You might also like to view...

What is the output of the statement

cout << something(3) given the following definition? int something (int n) { if (n == 1) return 3; else return 2 * something (n – 1); }

Computer Science & Information Technology

________ provides access to electronic notebooks that make it easy to store, organize, and share a variety of content in a single location online

Fill in the blank(s) with correct word

Computer Science & Information Technology

____ images are photos used in public interest.

a. Editorial-rights b. Royalty-free c. Rights-protected d. Public domain

Computer Science & Information Technology

When a value of one data type is automatically changed to another data type, a(n) ____________________ type coercion is said to have occurred.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology