Employee
    
    
        
            
            Employee Example: Illustrates an inheritance hierarchy. 
            Tests the overloaded computeSalary, display, 
            and ToString methods.
            
        
        
            
            Parameterized Constructor
            
            Name
            Gender
            Age
        
        
            
            Display class fields to console.
            
        
        
            
            Override of object ToString method.
            
            Concatenated class fields.
        
        
            
            Employee Example: Illustrates an inheritance hierarchy. 
            Tests the overloaded computeSalary, display, 
            and ToString methods.
            
        
        
            
            Employee Example: Illustrates an inheritance hierarchy. 
            Tests the overloaded computeSalary, display, 
            and ToString methods.
            
            
            An Employee is a Person with an ID and salary.
            
        
        
            
            Parameterized Constructor
            
            Name
            Gender
            Age
            ID
            Salary
        
        
            
            Display class fields to console.
            
        
        
            
            Override of object ToString method.
            
            Concatenated class fields.
            
        
        
            
            Compute salary.  No bonus is included for Employee.
            
            
            Salary
            
        
        
            
            Employee Example: Illustrates an inheritance hierarchy. 
            Tests the overloaded computeSalary, display, 
            and ToString methods.
            
            
            An Executive is an Employee with a bonus.
            
        
        
            
            Parameterized constructor.
            
            Name
            Gender
            Age
            ID
            Salary
            Bonus
        
        
            
            Display class fields to console.
            
        
        
            
            Override of object ToString method.
            
            Concatenated class fields.
            
        
        
            
            Compute salary.  The bonus is included for Executive.
            
            
            Salary