Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/use-the-employee-as-the-base-class/
- Create necessary classes and a Java application to use and test these classes.
- Use the Employee as the base class:
- Use Inheritance to create the following additional classes
- Create Secretary class that holds following additional attributes:
- Office Location (i.e. SCC104)
- Status (i.e. Retired, Active, Assigned,)
- Create a Supervisor class with the following additional attributes
- Secretary (Instance of Secretary)
- Department Name
- Number of Employees assigned
- Create
- Constructors –
- A minimum of 3 constructors including default constructor
- Getters
- Setters
- Helper methods
- toString() method
- equals() method
- Create an array of employees which contains
- Employee
- Secretary
- Supervisor
- Download: http://solutionzip.com/downloads/use-the-employee-as-the-base-class/
Advertisement
Add Comment
Please, Sign In to add comment