Which of the statement is incorrect?
1.switch statement is more efficient than a
set of nested ifs
2.two case constants in the same switch can
have identical values
3.switch statement can only test for equality,
whereas if statement can evaluate any type
of boolean expression
4.it is possible to create a nested switch
statements
Answers
Answered by
10
Answer:
Which of the statement is incorrect?
1.switch statement is more efficient than a
set of nested ifs
2.two case constants in the same switch can
have identical values
3.switch statement can only test for equality,
whereas if statement can evaluate any type
of boolean expression
4.it is possible to create a nested switch
statements
Answered by
0
Explanation:
Answer: b
Explanation: No two case constants in the same switch can have identical values.
Similar questions