Difference between if else and switch case
What is difference between if else and switch case please describe in details.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ramesh PalanivelRank #372 · 6.8K reputationPosted Mar 28, 2017, 2:58 AM EDT
Gnanavel SekarRank #333 · 7.5K reputationPosted Mar 28, 2017, 3:03 AM EDT
Tapan PatelRank #614 · 3.9K reputationPosted Mar 30, 2017, 5:11 AM EDT
Ranjeet PatraRank #1,436 · 1.1K reputationPosted Mar 30, 2017, 5:31 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Mar 30, 2017, 8:32 AM EDT
Jitendra ShekhawatRank #1,909 · 772 reputationPosted Mar 30, 2017, 4:38 AM EDT