Pergunta de entrevista da empresa Infiniti Software Solutions

Difference between if else-if and switch case? what is the need of switch?

Resposta da entrevista

Sigiloso

16 de abr. de 2018

switch uses hash code algo, faster then if-else-if, but for less number of loops if is prefererable, for higher number of loops switch is preferable

1