Jio interview question

Difference between if else and switch case