if and statement in one line code example Example: if one line //Ternary operator for IF condition ? ifTrue : ifFalse