A good answer might be:
is true(4 < 8 ) && (12 <= 40 ) && (50 > 1) |
Two AND OperatorsAn expression with two && operators works like you expect. But let us look at the situation in detail. When the && operator is used twice in an expression, group the first && and its operands together like this:
Now evaluate that first group.
The result is a true or false
that works with the next && operator:
The effect of this is that for the entire expression to
be true, every operand must be true.
One or more false values cause the entire expression
to be false.
Short-circuit evaluation is still happening, so actually the first false value will stop evaluation and cause the entire expression to be false. |
QUESTION 9:What is the value of: Click Here after you have answered the question(4 < 8 ) && ( 8 < 0 ) && ( 100 > 45 ) |