"variable = (condition)? true : false" this is syntax.And below is example of it. Where "largestNum" is variable declared of "int" type.
int largestNum = ( 5 . 2 ) ? 5 : 2;