Capgemini Engineering interview question

Solid principles in java, hashmap implementation