+ 1

Please explain me where to use switch statement?

7th Oct 2016, 3:27 PM
Ishita Arora
Ishita Arora - avatar
1 Réponse
+ 1
It's easier to read and write using cases than using an if statement when you have many cases. But you could also use an if else statement.
7th Oct 2016, 3:46 PM
Trissi
Trissi - avatar