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