|
@@ -34,7 +34,9 @@ Write a method in the Arraz class for each of these:
|
34
|
34
|
* calculate the average value of an double array - return an double `doubleAverageOfArray`
|
35
|
35
|
* to test if an integer array contains a specific value, pass both array and value as arguments `containsValue`
|
36
|
36
|
* reverse an array of integer values `reverseArray`
|
37
|
|
-* find the number of even and odd integers in a given array of integers `getOddEvensOfArray`, return an object of type
|
|
37
|
+* Make a method named `getOddEvensOfArray`
|
|
38
|
+* Method takes an argument of array of `Integer` objects
|
|
39
|
+* Method returns an object of type `OddEven` such that `OddEven` stores the number of `odds` and `evens` in the respective fields
|
38
|
40
|
```java
|
39
|
41
|
public class OddEven{
|
40
|
42
|
public int odds;
|