1 / 23

(Continued)

(Continued). Constructor Section (Student pr[]). Main: Section sec ( list);. st. s. st. s. st. s. st. s. pr. list. 0. 1. 2. 3. 4. 5. sec. 4. 0. Add an object. sec . addStudent (std). p1. std. 0. 1. 2. 3. 4. 5. sec. 4. 5. Find student by 1 parameter.

avon
Download Presentation

(Continued)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. (Continued)

  2. Constructor Section (Student pr[]) Main: Section sec ( list); st s st s st s st s pr list 0 1 2 3 4 5 sec 4 0

  3. Add an object sec .addStudent(std) p1 std 0 1 2 3 4 5 sec 4 5

  4. Find student by 1 parameter sec .oldestStudent() 0 1 2 3 4 5 sec old

  5. Simple object deletion Sec . delete1Student(std); pr std 0 1 2 3 4 5 sec

  6. Simple object deletion Sec . delete1Student(std);  X=2 pr std 0 1 2 3 4 5 sec 4

  7. object deletion with replacement Sec . delete2Student(std); pr std 0 1 2 3 4 5 sec

  8. object deletion with replacement Sec . delete2Student(std); pr std 0 1 2 3 4 5 sec 4

More Related