if-else vs. switch case | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

if-else vs. switch case

Is an if-else block or switch case statement better for checking for equality?

1st Nov 2017, 5:29 PM
Christian Parsons
Christian Parsons - avatar
1 ответ
+ 1
if- else is better for checking equality.
1st Nov 2017, 6:30 PM
Muthumani V
Muthumani V - avatar