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

Logical Operators ( a&&b )

11/30/2016 8:31:14 AM

Daniel Lewis

2 Answers

New Answer


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.


'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