Skip to content

Glossary: Java Basics

Logical operators (&&, ||, !)

Also written: &&, ||, !, and, or, not

Operators that combine conditions: `&&` needs both true, `||` needs at least one true, and `!` flips true and false.

Where the book teaches it

Related terms

Conditionboolean