💻ap computer science a review

|| (OR) operator

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

The || operator is a logical operator that returns true if at least one of its operands is true, and false otherwise.

"|| (OR) operator" also found in:

2,589 studying →