|
@@ -5,6 +5,7 @@
|
5
|
5
|
* **Purpose**
|
6
|
6
|
* To demonstrate practical understanding of arrays, loops, and basic composition.
|
7
|
7
|
* **Instructions**
|
|
8
|
+ * The `IntegerDuplicateDeleter` and `StringDuplicateDeleter` both inherit from the abstract class `DuplicateDeleter`. The `DuplicateDeleter` class has two required methods that the IntegerDuplicateDeleter and StringDuplicateDeleter need to implement. You need to add the two methods into the two classes and add a constructor to call the `DuplicateDeleter` method to make your code compile.
|
8
|
9
|
* Given an object, `IntegerDuplicateDeleter`, with a composite `Integer[]` object, write a method
|
9
|
10
|
* `removeDuplicatesExactly` which removes all values in the array which occur exactly the specified number of times.
|
10
|
11
|
* `removeDuplicates` which removes all values in the array which occur at least the specified number of times.
|