6. Glossary

deep equality
Equality of values, i.e., two references that point to objects that have the same value.
inheritance
Allows us to define a class that “inherits” the functionality of its parent class, or superclass, and enables us to modify or extend that functionality in our new subclass.
shallow equality
Equality of references, or two references that point to the same object.