-
Which of these statement is incorrect?
-
- switch statement is more efficient than a set of nested if
- switch statement can only test for equality, whereas if statement can evaluate any type of boolean expression
- it is possible to create a nested switch statements
- two case constants in the same switch can have identical values
- None of these
Correct Option: D
No two case constants in the same switch can have identical values.