Question: Consider several classes declared in Program C-2. 1 // Program C-2 3 #include 4 using namespace std; 6 class Contact string email; 8; 9 10

 Consider several classes declared in Program C-2. 1 // Program C-2

Consider several classes declared in Program C-2. 1 // Program C-2 3 #include 4 using namespace std; 6 class Contact string email; 8; 9 10 class Personnel 11 double salary: 12 Contact contact: 1312 14 15 class Student 16 string matric; 18 19. class Teacher : public Personnell string department: 171 20 211 22 23 class Teachingassistance: public student, public Personnel 24 string workingtime; 25 a. Based on the program, determine what type of relationship do the following classes form? Note: Write No Relationship if they do not form any relationship to each other 1. TeachingsStance and Personnel Desching Assistance and Teacher 111. Stund contact Tabel and Student (4 marks hDraw the UML c digram for the program which includes all the classes and relationship between the

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!