Pre-knowledge
Definition
This is a method to check if variables are equal on the basis of:
- their object’s memory location
- (and sometimes) on the basis of other values’ memory location
example
There are multiple examples of built-inĀ equals methods