Home
Pre-Lab
In-Lab
Post-Lab
|
Logical OR
The logical OR operator is binary operator which evaluates to True
if either of its operands are True and evaluates to False otherwise. It is symbolized
in Java using | | [two pipe symbols].
Truth table
| expression1 |
expression2 |
expression1 | | expression2 |
| false |
false |
false |
| false |
true |
true |
| true |
false |
true |
| true |
true |
true |

|