Please enable JavaScript to use CodeHS

CodeHS Glossary


Not operator Java

Logical operator that negates a single boolean value. Written as `!`. `!a` will be true if `a` is false, and false if `a` is true.