java one line if statements code example Example: one line if statement java statement ? true : false