Use the Employee as the base class

Download Category:

EmployeeBaseClass.zip - (94.98 KB)
[
EmployeeBaseClass/.classpath
EmployeeBaseClass/.project
EmployeeBaseClass/Employee.class
EmployeeBaseClass/Employee.java
EmployeeBaseClass/EmployeeTest.class
EmployeeBaseClass/EmployeeTest.java
EmployeeBaseClass/Question.txt
EmployeeBaseClass/Screenshot_1.png
EmployeeBaseClass/Secretary.class
EmployeeBaseClass/Secretary.java
EmployeeBaseClass/Supervisor.class
EmployeeBaseClass/Supervisor.java
]

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

Write a Review

Get a fresh solution of this question. Ask it now to our experts.
doubt

Ask Your Question

We have verified professionals who are ready to answer your question.

time

Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.

download

Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.