Computer Science, asked by sahudivya18350, 15 days ago

How is the if/else... if combination more general than a switch state ment ??​

Answers

Answered by foodfree833
0

Answer:

A switch statement is usually more efficient than a set of nested ifs. ... Check the Testing Expression: An if-then-else statement can test expressions based on ranges of values or conditions, whereas a switch statement tests expressions based only on a single integer, enumerated value, or String object.

Explanation:

give the options

Similar questions