Solved

The Switch Statement Can Be Used Instead of an If/else

Question 44

Multiple Choice

The switch statement can be used instead of an if/else if statement:


A) at any time.
B) only when comparing the value of an expression to a floating point value.
C) only when comparing the value of an expression to any char or integer variable.
D) only when comparing the value of an expression to constant integers, characters, or Strings.
E) only when comparing the value of an expression to a constant String value.

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