Introduction - If you have any usage issues, please Google them yourself
Declare a teacher class and student class. Use multiple inheritance way declare a graduate student derived class. On this basis, the teacher in class and student class added a base class.