A hashcode() is a function that takes an object and outputs a numeric value. The hashcode for an object is always the same if the object doesn't change.