Wipro Interview Question

hashmap usage with key as object