EPAM Systems interview question

Mainly about java, like differences between HashSet vs HashMap