Home > Back-end >  [C] how to design the framework of the student achievement management class?
[C] how to design the framework of the student achievement management class?

Time:09-23

Topics are as follows:


Some school one's deceased father grind, feel good complex link between classes, and have a great god give a framework? Thank you very much!

CodePudding user response:

Performance management class ScoreManager class Student is paradigmatic relations with the Student,
Students class Student and course grade class Score is paradigmatic relations,
Course grade classes Score and specific courses (Math, Physice) is also a paradigmatic relations,
Courses (Math, Physice) and the abstract class Course is inheritance,

So you can design for:
ScoreManager has a Student container object, used to manage the Student class object to add, delete, change, check and traversal,
And Student class has a Score of container object, used to manage the students object itself subject result query and for all,
Score class with an abstract of the class of container objects (concrete implementation class for Math, Physice), used to deal with the actual subject result,


  • Related