Conditional operator is an alternative of:

Nested if

if— else

if

While