This method of the Category Class retrieves the category's hash code.
public int hashCode();
Returns an integer hash code for the category.