Computer Science, asked by sravanimaganti922, 1 year ago

Define hashset and explain.

Answers

Answered by anni258
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