0
Is it necessary to use break statement after every case.... ?
2 Answers
+ 3
There's no need for break after the last case since it automatically leaves the switch statement. Otherwise if you want to prevent case-overflow, yes.
0
ya I was also thinking the same .