Logical Operators | AND (&&) Operator | OR (||) Operator | NOT (!) Operator

Logical Operators: Used to combine outcome of two or more conditions.

AND (&&) Operator:
True && True = True
True && False = False
False && True = False
False && False = False

OR (||) Operator:
True || True = True
True || False = True
False || True = True
False || False = False

NOT (!) Operator:
!True = False
!False = True
 

Contributor's Info

Created:
0Comment