Solved

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

Question 13

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