in class union mergemerge copies every element from and into cbut does not duplicate any element in class intersectmergemerge copies every element that is in both and into cbut "throws awayelements in one set but not in the other in class subtractmergemerge copies every element that is in and not in into code fragment classes extending the merge class by specializing the auxiliary methods to perform set unionintersectionand subtractionrespectively