Unformatted text preview: and arStudentName the content of the arrays given as parameters. We suppose the size of studentIds and studentNames < 100 . -Method getStudentName(double id) that looks for the existence of a given student Id and returns his name. -Method addStudent(double id, String name) that adds a student’s data at the end of the arrays. -Method deleteStudent(double id) that deletes the given Id number and the corresponding name. Deletion will consist in setting to default values....
View Full Document
- Spring '11
- Array, English-language films, addStudent, deleteStudent, getStudentName, double id