How much size a HashMap will consume?

I have been recently asked a question in an interview like, if a HashMap with 100 key-value pairs is created how much memory it will consume..? Can anyone explain also how much each Entry in the map consumes ....

Read More »

By: StackOverFlow - Tuesday, 8 January

Related Posts