Sets and it’s types in java
Set: A set is a collection that does not allow duplicate elements part of java collection framework and inside util package used when you want to store the unique elements Main features: No duplicates,can be looped using iterator or for-each loop HashSet–>Fast,unordered,no dulicates LinkedHashSet–>Maintains the insertion order TreeSet–Ascending order by default(sorted set)