Domanda di colloquio di EPAM Systems

What specific properties should a key in a Java HashMap have to ensure correct and efficient operations?