AP Computer Science A

study guides for every class

that actually explain what's on your next test

Equals Method

from class:

AP Computer Science A

Definition

The equals method is a method in Java that is used to compare two objects for equality. It checks if the values of the objects are the same, rather than comparing their memory addresses.

congrats on reading the definition of Equals Method. now let's actually learn it.

ok, let's learn stuff

"Equals Method" also found in:

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.