Home
Pre-Lab
In-Lab
Post-Lab
|
Logical NOT
The logical NOT operator is a unary operator which evaluates to True
if its operand is False and evaluates to False if its operand is True.
It is symbolized in Java using ! [exclamation mark].
Truth table
| expression |
!expression |
| false |
true |
| true |
false |

|