shorthand if else to print java code example Example: java shortest if else statement (myNumber == 12) ? "true" : "false"