+ 2

What happens if it doesn't match any case values

7th Jan 2017, 2:00 AM
Scott Mcgonigle
Scott Mcgonigle - avatar
6 Answers
+ 6
if you defined the default case then it will execute, otherwise switch terminates without any operation.
7th Jan 2017, 2:59 AM
Nikhil Dhama
Nikhil Dhama - avatar
+ 4
@pranshu you always can, there's no need of sorry!
7th Jan 2017, 6:46 AM
Nikhil Dhama
Nikhil Dhama - avatar
+ 1
hey NIKHIL bhaiya soory just mistakly I challenged u I was just checking my myself...houw much I have gain..still
7th Jan 2017, 6:38 AM
Pranshu Ranjan
Pranshu Ranjan - avatar
+ 1
Nihkil bhaiya could u please clear me about classes
8th Jan 2017, 2:54 AM
Pranshu Ranjan
Pranshu Ranjan - avatar
0
default value
7th Jan 2017, 2:01 AM
Stefan Milosavljevic
Stefan Milosavljevic - avatar
0
thank u bhaiya
7th Jan 2017, 6:47 AM
Pranshu Ranjan
Pranshu Ranjan - avatar