/* * @topic T11334 Spring 2017 Inheritance Demo * @brief abstract class Employee */ package inheritancedemo; public abstract class Employee { //-------------------------------------- // data attributes //-------------------------------------- private int employeeID; //-------------------------------------- // constructors //-------------------------------------- public Employee( int employeeID ) { this.employeeID = employeeID; }//Employee //-------------------------------------- // abstract operations //-------------------------------------- public abstract double getRate(); //-------------------------------------- // operations //-------------------------------------- public int getEmployeeID() { return employeeID; }//getEmployeeID }//class Employee