NSEIT Interview Question

HashMap internal working, what if we implement only hashcode and not equals