Collection
51 What is a weak HashMap?An implementation of the map interface, which includes only weak references to the keys. This allows garbage collection when the key is no longer referenced outside of the Map. 52. Why concurrentHashMap is not used over HashMap?This is because it doesn’t perform well in a multithreaded environment. 53. How to […]