💻ap computer science a review

Relational operator

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

Definition

An operator used to compare two values and return a Boolean result. In AP Computer Science A, the relational operators are ==, !=, <, >, <=, and >=.

AP course connection

Topic 2.2: 2.2 Boolean Expressions

Unit 2

"Relational operator" also found in: