Przeglądaj źródła

Update 'README.md'

git-leon 5 lat temu
rodzic
commit
affd6078c6
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3
    1
      README.md

+ 3
- 1
README.md Wyświetl plik

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;