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

else if statement

if else statement

switch statement

if statement