How is the if/else... if combination more general than a switch state ment ??
Answers
Answered by
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
Computer Science,
7 days ago
Math,
7 days ago
Hindi,
15 days ago
Social Sciences,
15 days ago
English,
8 months ago
Math,
8 months ago