Switch statement is an alternative of:

Nested if

if

if-else

Nested if-else