(condition) ? (what happens if true) : (what happens if false); boolean party = friday ? play("what is love") : play("The Sound of Silence");