1.

What Is The Difference Between Hashset And Hashmap?

Answer»

HashSet contains only values WHEREAS HASHMAP contains ENTRY(key,value). HashSet can be iterated but HashMap NEED to convert into Set to be iterated

HashSet contains only values whereas HashMap contains entry(key,value). HashSet can be iterated but HashMap need to convert into Set to be iterated



Discussion

No Comment Found