The conditional operator "?:" takes three operands. If the first operand evaluates to true, the entire expression assumes the value of the second operand. If the first operand evaluates to false, the entire expression assumes the value of the third operand.
The || (OR) operator can be used to choose an alternative value for an expression if a primary value evaluates to false.