0
If we dont use break, why would it compile the cases that dont match
2 Respuestas
+ 2
if we don't use break then when we run program the switch search the match and after that the case complete he took other case defined after him as a nested case and does not break switch statement so it is necessary to define break after case complete
0
thats why we use it. to get out Switch.