0

Is any difference between map & set

12/15/2019 2:16:03 PM

Deependra Kumar Maurya

1 Answer

New Answer

+1

Yes, Hashmap accepts duplicate values(not keys) while Hashset doesn't accept In hashmap you can get a value by her key (no key in hashset) Plus hashmap is faster than hashset