💻ap computer science a review

== (equality 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

A relational operator that compares two values for equality. With primitive types, it compares the actual values; with reference types, it compares object references.

AP course connection

Topic 2.2: 2.2 Boolean Expressions

Unit 2

"== (equality operator)" also found in: