瀏覽代碼

Update 'README.md'

git-leon 5 年之前
父節點
當前提交
affd6078c6
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      README.md

+ 3
- 1
README.md 查看文件

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;