⌨️ap computer science principles review

Relational 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

A relational operator is a symbol used in programming languages to compare two values and determine the relationship between them. The result of a relational operation is usually a boolean value (true or false) based on the comparison.

"Relational Operator" also found in:

2,589 studying →