|
|
|
|
5
|
* **Purpose**
|
5
|
* **Purpose**
|
6
|
* To demonstrate practical understanding of `while`, `for`, and `for each` loops.
|
6
|
* To demonstrate practical understanding of `while`, `for`, and `for each` loops.
|
7
|
* **Instructions**
|
7
|
* **Instructions**
|
8
|
- * Given an object, `DuplicateDeleter`, with a composite `Integer[]` object, write a method
|
|
|
|
|
8
|
+ * Given an object, `IntegerDuplicateDeleter`, with a composite `Integer[]` object, write a method
|
|
|
9
|
+ * `removeDuplicatesExactly` which removes all values in the array which occur exactly the specified number of times.
|
|
|
10
|
+ * `removeDuplicates` which removes all values in the array which occur at least the specified number of times.
|
|
|
11
|
+ <br><br>
|
|
|
12
|
+ * Given an object, `StringDuplicateDeleter`, with a composite `String[]` object, write a method
|
9
|
* `removeDuplicatesExactly` which removes all values in the array which occur exactly the specified number of times.
|
13
|
* `removeDuplicatesExactly` which removes all values in the array which occur exactly the specified number of times.
|
10
|
* `removeDuplicates` which removes all values in the array which occur at least the specified number of times.
|
14
|
* `removeDuplicates` which removes all values in the array which occur at least the specified number of times.
|
11
|
|
15
|
|