Saw the code snippet like
Set instances = new HashSet();
I am wondering if Hashset is a special kind of set. A
HashSet is a class derived from Set interface. As a derived class of Set, the HashSet attains the properties of Set. Important and the most frequently used derived classes of Set are HashSet and TreeSet.