The Conditional Operator
Java has a conditional operator that evaluates a boolean condition that determines which of two expressions is evaluated
The result of the chosen expression is the result of the entire conditional operator
condition ? expression1 : expression2
If the condition is true, expression1 is evaluated; if it is false, expression2 is evaluated