0
Can the And operater expression be false if both boolean results are false
Logical Operators ( a&&b )
2 ответов
+ 4
For the && Operator, both parameters need to meet the condition for the whole thing to be true. If both are false, then it will return false.
0
'AND' operator will result TRUE if both parameters are TRUE. If not, it will result FALSE.
(TRUE && TRUE) = TRUE
(TRUE && FALSE) = FALSE
(FALSE && TRUE) = FALSE
(FALSE && FALSE) = FALSE