Solved

Which of the Following Statements Is True

Question 18

Multiple Choice

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.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents