Browse Source

Update 'README.md'

git-leon 5 years ago
parent
commit
affd6078c6
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      README.md

+ 3
- 1
README.md View File

34
 * calculate the average value of an double array - return an double `doubleAverageOfArray`
34
 * calculate the average value of an double array - return an double `doubleAverageOfArray`
35
 * to test if an integer array contains a specific value, pass both array and value as arguments `containsValue`
35
 * to test if an integer array contains a specific value, pass both array and value as arguments `containsValue`
36
 * reverse an array of integer values `reverseArray`
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
 ```java
40
 ```java
39
 public class OddEven{
41
 public class OddEven{
40
     public int odds;
42
     public int odds;