Use OOP complete the registration function

Step 1: Find all entities:
students, teachers, institutions, classes
Step two: Define the relevant category:
Here Insert Picture DescriptionHere Insert Picture DescriptionHere Insert Picture DescriptionHere Insert Picture Description
The third step: to instantiate and initialize an object.

Here Insert Picture DescriptionStep Four: Let the object to perform the corresponding function.

Here Insert Picture DescriptionHere Insert Picture DescriptionThe main idea is to understand the process and object-oriented programming.

Guess you like

Origin blog.csdn.net/weixin_44097082/article/details/95067073