HCLTech Interview Question

How to remove all elements from hashmap

Interview Answer

Anonymous

Dec 6, 2016

clear() will remove all the elements from hashmap.