Java   View all facts   Glossary   Help
syntactic unit > symbol > operator > short circuit operator
Next operator: tertiary operator    Up: operator    Previous operator: relational operator   

short circuit operator comparison table
Subject evaluate have purpose indicate
&&its second operand only if the first operand returns trueto return true if both operands evaluate to truelogical AND
||its second operand only if the first operand returns falseto return true if at least one of its operands evaluates to truelogical OR

Next operator: tertiary operator    Up: operator    Previous operator: relational operator