Logical OR (||): Returns true when at least one operand is true; short-circuits if the left operand is true.
How to apply it: Trace || expressions remembering that Java skips the right side when the left is true.
Course: AP Computer Science A · Unit: Boolean Expressions and if Statements
Practice questions about Logical OR (||) on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.