In which operators all the operands are always evaluated (select all that apply)?
Explanation
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.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback