lab6_113 - KSU CCIS CS DEPARTMENT CSC-113 SPRING 2010 LAB 6...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
KSU / CCIS / CS DEPARTMENT CSC-113, SPRING 2010 LAB 6 – INHERITANCE - POLYMORPHISM Implement the following classes in Java. Write a main class to test your program. In the main class: display the list of all employees in the organization with their attributes. Count and display the number of the Managers with their allowance. class Teacher: • Allowance( ) Double: Return the Allowance based on the following rule: if the Qualification = “ Phd“ return Salary * 65%. if the Qualification = “ Master“ return Salary * 40%.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Ask a homework question - tutors are online