Unformatted text preview: the content of the arrays given as parameters. We suppose the size of StudentIds and StudentNames < 25 . - Method getStudentName(int id) that looks for the existence of a given Student Id and returns his name. - Method addStudent(int id, String name) that adds a Student’s data at the end of the arrays. - Method deleteStudent(int id) that deletes the given Id number and the corresponding name. Deletion will consist in setting to default values. Write a main class to test the class StudentSection ....
View Full Document
- Spring '11
- Array, English-language films, Subroutine, int id