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

if else statement

switch statement

else if statement

if statement