Which of the following can be used to replace ternary operator?

if statement

else if statement

switch statement

if else statement