Which of the following statements is true?

a) strings can be used in switch expressions, but string literals cannot be used in case
labels.
b) strings cannot be used in switch expressions, but string literals can be used in case
labels.
c) strings can be used in switch expressions, and string literals can be used in case labels.
d) strings cannot be used in switch expressions, and string literals cannot be used in case
labels.

c) strings can be used in switch expressions, and string literals can be used in
case labels.

Computer Science & Information Technology

You might also like to view...

Signing of mobile code is a suggested approach for addressing the vulnerability of hostile code. Outline what a code signing scheme would have to do

What will be an ideal response?

Computer Science & Information Technology

One of the key decisions in running an e-commerce Web site is to decide:

a. who will operate the host site. b. where to create a backup. c. how to make it user-friendly. d. how to allowguest users to buy a product.

Computer Science & Information Technology