0

Can anybody give me an example where switch can execute more than 1 cases, because there was no break statement?

I just learnt that switch can execute more than 1 cases if there is no break statement provided inside each case statement. I want to see one such code by myself.

18th Apr 2021, 2:31 AM
Jagadeesh Gurana
Jagadeesh Gurana - avatar
2 Antworten
+ 2
If u have learnt and want to see the code by yourself then u should make the code by yourself as an example
18th Apr 2021, 2:55 AM
PIYUSH
+ 1
Coder Kitten thanks a lot. Sure
18th Apr 2021, 4:01 AM
Jagadeesh Gurana
Jagadeesh Gurana - avatar