Java View all facts Glossary Help |
| syntactic unit > symbol > operator > short circuit operator |
| short circuit operator comparison table | |||
| Subject | evaluate | have purpose | indicate |
|---|---|---|---|
| && | its second operand only if the first operand returns true | to return true if both operands evaluate to true | logical AND |
| || | its second operand only if the first operand returns false | to return true if at least one of its operands evaluates to true | logical OR |
Next operator: tertiary operator Up: operator Previous operator: relational operator