Solved

Which of the Following Statements About the Switch Statement Is

Question 5

Multiple Choice

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.

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