Where the hash map is used in real time project.? Why they are useful??
What I have read, is that HashMap is a useful class for us to store elements and we don't know previously how much memory we need because we don't know how many dates we are going to store. For this, it has a mixture of dynamic and static memmory management in it. Besides, it provides efficient algorithms for us to look for a key into the HashMap, so it won't make the application to delay for too long.
i think to my knowledge they r used in browser caching displaying the webpages and in compiler designing