
- A set is a collection of elements in which there are no duplicates.
- The union of sets A and B (
A ∪ BorA + B) is the set of all elements that are contained in either A or B (or both). The result is still a set, with no duplicates, even if an element is in both A and B. Union is commutative, meaningA ∪ B == B ∪ A.