瀏覽代碼

Update 'README.md'

git-leon 5 年之前
父節點
當前提交
f93508ec16
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      README.md

+ 2
- 1
README.md 查看文件

@@ -37,6 +37,8 @@ Write a method in the Arraz class for each of these:
37 37
 * Make a method named `getOddEvensOfArray`
38 38
     * Method takes an argument of array of `Integer` objects
39 39
     * Method returns an object of type `OddEven` such that `OddEven` stores the number of `odds` and `evens` in the respective fields
40
+
41
+* Example of OddEven class
40 42
 ```java
41 43
 public class OddEven{
42 44
     public int odds;
@@ -51,7 +53,6 @@ public class OddEven{
51 53
 * insert an element into an array a specific position `insertIntoArrayAt`
52 54
 * find the maximum and minimum value of an array `findMaxMinOfArray` return a 
53 55
 
54
-* Example of MaxMin class
55 56
 ```java
56 57
 public class MaxMin{
57 58
     int max, max;