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

When a member function is defined outside the class definition, the function header must include the class name and the _________, followed by the function name to “tie” the member function to the class definition.

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

Computer Science & Information Technology

Regular expression operator _________ inside square brackets will not match any of the characters in that set of brackets.

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

Computer Science & Information Technology

What are three important considerations for selecting a power supply for a gaming PC? (Select three.)

A) 250-450 watts B) ITX form factor C) High number of connectors D) High number of ports E) 24-pin connector F) Multi 12V rails G) Colored lights

Computer Science & Information Technology

The output of the detailed design phase of the Systems Development Life Cycle (SDLC) is a

A. fully documented system report B. systems selection report C. detailed system design report D. systems analysis report

Computer Science & Information Technology