akosiraff

Use the Employee as the base class

Jul 18th, 2013
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/use-the-employee-as-the-base-class/
  3. Create necessary classes and a Java application to use and test these classes.
  4. Use the Employee as the base class:
  5. Use Inheritance to create the following additional classes
  6. Create Secretary class that holds following additional attributes:
  7. Office Location (i.e. SCC104)
  8. Status (i.e. Retired, Active, Assigned,)
  9. Create a Supervisor class with the following additional attributes
  10. Secretary (Instance of Secretary)
  11. Department Name
  12. Number of Employees assigned
  13. Create
  14. Constructors –
  15. A minimum of 3 constructors including default constructor
  16. Getters
  17. Setters
  18. Helper methods
  19. toString() method
  20. equals() method
  21. Create an array of employees which contains
  22. Employee
  23. Secretary
  24. Supervisor
  25. Download: http://solutionzip.com/downloads/use-the-employee-as-the-base-class/
Advertisement
Add Comment
Please, Sign In to add comment