HashSet overview

HashSet is a java class which implements Set interface Main features of HashSet HashSet contains only unique elements, does not allow duplicates. HashSet stores elements by using “hashing” mechanism It does not maintain the insertion order, elements will be in random order. It allows null value, since it allows unique values, only one null value […]

Share this article on