how to do a one line if statement java code example Example: one line if statement java statement ? true : false