Question 1 Implement a composition relationship between any two class types from the following list: Address College Company Employee Job Manager Name Professor Student Write all necessary code for...


need help with c++...Please explain the code and the question TOO.



Question 1<br>Implement a composition relationship between any two class types from the following list:<br>Address<br>College<br>Company<br>Employee<br>Job<br>Manager<br>Name<br>Professor<br>Student<br>Write all necessary code for both classes to demonstrate a composition relationship including the following:<br>a. one encapsulated data member for each class<br>b. inline default constructor using constructor delegation for each class<br>c. inline one-parameter constructor for each class<br>d. inline accessors for all data members<br>e. inline mutators for all data members<br>Full credit will only be earned if the composition is a logical relationship in the real world.<br>

Extracted text: Question 1 Implement a composition relationship between any two class types from the following list: Address College Company Employee Job Manager Name Professor Student Write all necessary code for both classes to demonstrate a composition relationship including the following: a. one encapsulated data member for each class b. inline default constructor using constructor delegation for each class c. inline one-parameter constructor for each class d. inline accessors for all data members e. inline mutators for all data members Full credit will only be earned if the composition is a logical relationship in the real world.

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here