浏览代码

Update 'README.md'

nhu313 6 年前
父节点
当前提交
4897ebe5a7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      README.md

+ 1
- 0
README.md 查看文件

@@ -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.