瀏覽代碼

Update 'README.md'

git-leon 6 年之前
父節點
當前提交
6ffc270415
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. 4
    2
      README.md

+ 4
- 2
README.md 查看文件

@@ -50,10 +50,12 @@ public class OddEven{
50 50
 * remove a specific element from an array `removeElementFromArray`
51 51
 * insert an element into an array a specific position `insertIntoArrayAt`
52 52
 * find the maximum and minimum value of an array `findMaxMinOfArray` return a 
53
+
54
+* Example of MaxMin class
53 55
 ```java
54 56
 public class MaxMin{
55
-    public int max;
56
-    public int min;
57
+    int max, max;
58
+    // ommitted setters, getters, and constructors for brevity
57 59
 }
58 60
 ```
59 61
 * remove duplicate elements from an array, return new array `removeDupesFromArray` (make it an array of Integers)