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
demonstrate? (20 points)
[meteor_slideshow slideshow="slide3"]Are you looking for a similar paper or any other quality academic essay? Then look no further. Our research paper writing service is what you require. Our team of experienced writers is on standby to deliver to you an original paper as per your specified instructions with zero plagiarism guaranteed. This is the perfect way you can prepare your own unique academic paper and score the grades you deserve.
[meteor_slideshow slideshow="slide2"]Use the order calculator below and get ordering with idealtermpapers.com now! Contact our live support team for any assistance or inquiry.
[order_calculator]