|
@@ -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
|
|