Logical Operators
To combine conditions into more complex ones.
Logical operators:
Logical AND: &&
Logical OR: ||
Logical NOT (negation): !
Evaluation from left to right.
Previous slide
Next slide
Back to first slide
View graphic version