Question: Implement a class StudentCollection to manage student objects (copy-paste the provided skeleton to finish the implementation): The class should have a student data structure, called

 Implement a class StudentCollection to manage student objects (copy-paste the provided

skeleton to finish the implementation): The class should have a student data

Implement a class StudentCollection to manage student objects (copy-paste the provided skeleton to finish the implementation): The class should have a student data structure, called students, to hold student objects. The class should implement all the behaviors as in the skeleton code below. Skeleton code Class StudentCollection { public StudentCollection () { } public Iterator getstudents () { } public boolean addstudent (Student Student) { /* the method should insert a student in the data structure, * the method should double check that the input * object is not a duplicate * } public void removeStudent (Student student) { } public void editstudent (Student stud, double new_gpa) { } public void sortstudents 0) { /* sort student objects by name using the natural ordering of elements*/ * } public List

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!