0

May I ask if switch statement or if statements are faster?

6th Aug 2016, 1:59 AM
WhataHeck!
WhataHeck! - avatar
3 Antworten
+ 2
there are certain things for which u will have to use switch statements. if statements cant be used sometimes
9th Aug 2016, 6:29 PM
Mayan Pahwa
Mayan Pahwa - avatar
0
switch statement
15th Aug 2016, 7:02 PM
pan Soren
pan Soren - avatar
0
switch statements cause they directly go to the desired case and not waste any time in checking if and else statements one by one.. This is what I think so..
16th Oct 2016, 12:43 PM
sadia sharif