Course contentsShow
Java
Lesson 541 of 2,87013. The Object Class and Common MethodsPro lesson

The equals Method: Reference vs Logical Equality

Understand the difference between == (reference equality) and equals() (logical equality) and why Object's default equals uses ==.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.