if else in java 8 for one row code example Example: one line if statement java statement ? true : false