22 Java Collections: Set
After reading this lesson, you will be able to:
- Understand when to use the Set collection
- Create sets using the HashSet, LinkedHashSet, and TreeSet classes
- Apply methods available for the Set collection in a Java program
This lesson introduces the types of Set collections Java. It includes the benefits of using and the difference between the types of Sets. A Set is an object that represents another group of objects that does not allow for any duplicates.