Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question No. 2 (05) Complete this task using the C# concepts you learned in the lab. Create the classes of Employee and Manager with the
Question No. 2 (05) Complete this task using the C# concepts you learned in the lab. Create the classes of Employee and Manager with the association relationship using the object of each other and both with their own independent life cycle. Employee class will have a constructor, a data member of Employee Name with setter and getter and with a function to set manager name of employee with manager class object as a parameter of the function. Manager class will have a constructor, a data member of Manager Name with setter and getter and with a function of manager information with the employee class object as a parameter. Output of the task program should be: 1. Manager of Employee XYZ is ABC
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started