|
@@ -5,7 +5,6 @@
|
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.
|
9
|
8
|
* Given an object, `IntegerDuplicateDeleter`, with a composite `Integer[]` object, write a method
|
10
|
9
|
* `removeDuplicatesExactly` which removes all values in the array which occur exactly the specified number of times.
|
11
|
10
|
* `removeDuplicates` which removes all values in the array which occur at least the specified number of times.
|