Operator || does not calculate the value of the second operand if the first operand has a true value.
Operator && does not calculate the value of the second operand if the first operand has a false value.
The Operator ?: depending on the verity of conditions calculates the value only one of the two expressions.
Login in to like
Login in to comment