Solved

You Might Choose to Use a Switch Statement Instead of Nested

Question 26

Multiple Choice

You might choose to use a switch statement instead of nested if-else statements if


A) the variable being tested might equal one of several hundred integer values
B) the variable being tested might equal one of a few integer values
C) there are two or more integer variables being tested, each one of which could be one of several hundred values
D) there are two or more integer variables being tested, each one of which could be one of a few values
E) None of these; you would never choose a switch statement instead of nested if-else statements under any circumstances.

Correct Answer:

verifed

Verified

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

Related Questions