Advanced Programming Concepts Instructor: Dr. Justin L. Rice

Homework #1 MCIS 5103: Advanced Programming Concepts Instructor: Dr. Justin L. Rice Due Date: 1/30/2019 Please refer to the code in the Appendix (pages 2 – 6) to answer the following questions. 1. What is the relationship between the Employee class and the Manager class? What concept does this demonstrate? (10 points) 2. What would happen if mySalary were declared private instead of protected? (15 points) 3. Write the output for each section of print statements. (15 points) 4. Which raiseSalary() method does m.raiseSalary(10) execute? Why? What concept does this demonstrate? (20 points) 5. Which raiseSalary() method does e1.raiseSalary(10) execute? Why? What concept does this demonstrate? (20 points) 6. Which raiseSalary() method does e2.raiseSalary(10,1) execute? Why? What concept does this