Question: Please follow the instruction above correctly and code in an coding environment (Pychram). I will give you a up-vote if you follow the directions correctly


Please follow the instruction above correctly and code in an coding environment (Pychram). I will give you a up-vote if you follow the directions correctly Please.
The UML design (Fig. 1) shows the relationship between Employee class and Supervisor class. Suppose you have created the Employee class with the UML design in Fig. 2 (we have finished it in class). Now you are asked to create a Supervisor class that is derived from Employee class. All the attributes of classes are declared as private data, create a setter and a getter to manipulate each attributes first. Then override the method __str__ so that you can use print() to display the supervisor's information, which includes the attributes list and salary. You need to submit: 1. A screenshot of the Project Structure in PyCharm. 2. Upload the source code of the Employee class (including its aggreated classes). Each class must be saved in an individual .py file (module) 3. Upload the source code of the Supervisor class (Supervisor.py) 4. Create a EmployeeTester module, add a Supervisor's information, and then print() the supervisor's complete information. Upload your source code (EmployeeTester.py). Benchmark data: Employee information: Company name: GlobalCo Employee: Sunny Sam Pay: $50/ hour Work hours: 8 hours/day Address: 25 Yearsly Rd, Media, PA 19063 Phone: (610)111-0000 (office); (215)001-1234 (cell) Rank: supervisor, bonus rate 25% of his salary rg. 1 inneritance or class Fig. 2 Composition in Class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
