Intuit interview question

Hashmap - Explain hashcode() and equals(). What happens if both are overridden. Can objects be stored in Hashmaps