浏览代码

Update README.md

Git-Leon 7 年前
父节点
当前提交
5153b3f0f5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      README.md

+ 1
- 0
README.md 查看文件

@@ -83,6 +83,7 @@
83 83
 * Create a `Cohort` class.
84 84
 	* The class should instantiate an `ArrayList` field of `Student` objects named `studentList`.
85 85
 	* The class should define a method named `addStudent` which adds a `Student` to the `studentList`.
86
+	* The class should define a method named `findStudentById` which makes use of a `long id` parameter to return a `Student` object with the respective `id` field.
86 87
 	* The class should define a method named `getStudents` which returns an array representation of the `studentList`.
87 88
 	* The class should define a named `removeStudents` which clears our `studentList`.
88 89