Wipro interview question

hashmap usage with key as object