Zebra0.com

java booleanLogical operators: &&, ||

Logical operators: &&, ||

The logical operators let you test more than one expression.

A double ampersand, && means AND. A double pipe or bar || means OR. The pipe is typed using shift + backspace.

Truth table