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