Computer Science, asked by shreyanshpandey250, 6 months ago

What is the limitations of switch statement over If statement of java​

Answers

Answered by Anonymous
6

Answer:

Disadvantages of switch statements

float constant cannot be used in the switch as well as in the case. You can not use the variable expression in case. You cannot use the same constant in two different cases. We cannot use the relational expression in case.

Similar questions