/*
 * @topic T11335 Spring 2017 Inheritance Demo
 * @brief class EmployeePT extends Employee
*/
package inheritancedemo;

public class EmployeePT extends Employee {
    
    //--------------------------------------
    // data attributes
    //--------------------------------------
    double hourlyRate;

    //--------------------------------------
    // constructors
    //--------------------------------------
    public EmployeePT( int employeeID, double hourlyRate )
    {
        super( employeeID );
        this.hourlyRate = hourlyRate;
    }//EmployeePT

    //--------------------------------------
    // operations
    //--------------------------------------
    public double getRate()
    {
        return hourlyRate;
    }//getRate
    
}//class EmployeePT