/*
 * @topic T11339 Spring 2017 Inheritance Demo
 * @brief class TimeSlotWeekend extends TimeSlot
*/
package inheritancedemo;

public class TimeSlotWeekend extends TimeSlot {
    //--------------------------------------
    // data attributes
    //--------------------------------------
    private double rate = 2.0; // double-pay-rate on weekend
    
    //--------------------------------------
    // constructors
    //--------------------------------------
    public TimeSlotWeekend( int employeeID, int units ) {
        super( employeeID, units );
    }//TimeSlotWeekend
    
    //--------------------------------------
    // operations
    //--------------------------------------
    public double getRate()
    {
        return rate;
    }//getRate

}//class TimeSlotWeekend