Condition Operator ( ?: )
Thursday, November 29th, 2007Condition Operator that java provides (?:) can be used in place of an if..else statement. THis is a Java only ternary operator this means it takes three operands.the first witch is before the ? is if the value is true or false – and after the ? is the action to be done IF TRUE and AFTER : is the action to be done if FALSE.so its like this (more…)
