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