Selaa lähdekoodia

Update README.md

Git-Leon 7 vuotta sitten
vanhempi
commit
5153b3f0f5
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      README.md

+ 1
- 0
README.md Näytä tiedosto

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