Java View all facts Glossary Help |
syntactic unit > symbol > operator > binary operator > || |
|| | ||||
subject | fact |
|| | evaluates its second operand only if the first operand returns false | |
has purpose to return true if at least one of its operands evaluates to true | ||
indicates logical OR | ||
is a subtopic of Operators | ||
is an instance of binary operator | ||
is an instance of logical operator | ||
is an instance of short circuit operator | ||
binary operator | uses an infix notation | |
logical operator | returns a boolean | |
operator | evaluates to its result | |
has precedence | ||
is part of an expression | ||
is evaluated before another operator with lower precedence | ||
syntactic unit | has syntax rule bold = mandatory |