0

Can the And operater expression be false if both boolean results are false

Logical Operators ( a&&b )

30th Nov 2016, 8:31 AM
Daniel Lewis
Daniel Lewis - avatar
2 Answers
+ 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.
30th Nov 2016, 9:52 AM
Wen Qin
Wen Qin - avatar
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
30th Nov 2016, 8:48 AM
Fendi Septiawan
Fendi Septiawan - avatar