Homework Clinic
Science Clinic => Computer Science => Programming and Graphic Design => Topic started by: bclement10 on Aug 30, 2020
-
An abstract data type not covered in detail in the chapter is the Set ADT. A Set is like a set as covered in your Mathematics courses. For instance, a set of even numbers might be {2, 4, 8, 12, 18, 32}. List 6 operations that you might implement for a Set ADT.
-
addElement, removeElement, isAnElementOf, intersect, union, subset. Others might include toString, superset, equals, compareTo, and difference.