Define hashset and explain.
Answers
Answered by
0
Java HashSet class is used to create a collection that uses a hash table for storage. It inherits the AbstractSet class and implements Set interface. ... HashSet stores the elements by using a mechanism called hashing. HashSet contains unique elements only. HashSet allows null value.
Similar questions