java shortest if else statement

Java
 (myNumber == 12) ? "true" : "false"
Source

Also in Java: