Browse Source

Update README.md

Git-Leon 7 years ago
parent
commit
5153b3f0f5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      README.md

+ 1
- 0
README.md View File

83
 * Create a `Cohort` class.
83
 * Create a `Cohort` class.
84
 	* The class should instantiate an `ArrayList` field of `Student` objects named `studentList`.
84
 	* The class should instantiate an `ArrayList` field of `Student` objects named `studentList`.
85
 	* The class should define a method named `addStudent` which adds a `Student` to the `studentList`.
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
 	* The class should define a method named `getStudents` which returns an array representation of the `studentList`.
87
 	* The class should define a method named `getStudents` which returns an array representation of the `studentList`.
87
 	* The class should define a named `removeStudents` which clears our `studentList`.
88
 	* The class should define a named `removeStudents` which clears our `studentList`.
88
 	
89