瀏覽代碼

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.