Java - Ternary Operator, inline if (iif), or ternary if

Java offers the ternary operator ? : and it also reffered as conditional operator, inline if (iif), or ternary if. It allows the inline conditional execution exactly similar like if...else... statement but the if...else... statemnt is a procedureal statement but terniary operator ? : is an inline function and it return a value of same data type.