HCLTech interview question

How to remove all elements from hashmap

Interview Answer

Anonymous

6 Dec 2016

clear() will remove all the elements from hashmap.