Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SCENARIO ANDCO Home Enterprise is a company that specializes in the design of high-end home furniture and fixtures. Currently the company has a staff quota

SCENARIO
ANDCO Home Enterprise is a company that specializes in the design of high-end home furniture and fixtures. Currently the company has a staff quota of twenty (20) full time employees and ten (10) contracted employees. ANDCO would like to automate their employee records system. This automated system will store employee names, identification numbers, employee status, salary, date employed. A full-time employee is required to work forty (40) hours per week at a rate of $1500 per hour. Overtime pay for full time employees is calculated at 1.5 * 1500 (therefore if a full-time employee works 5 hours overtime their overtime pay is $11,250). Contracted employees are also required to work forty (40) hours per week at a rate of $1700 per hour. Contracted workers are paid a stipend of $12000 if they complete three (3) hours of overtime, however a contracted worker cannot work more than six additional hours per forty hours work week.
The following deductions are constant for all employees:
NHT2%
PAYE 2.5%
NIS 2.5%
EDUCATION TAX 2.25%
For both categories of workers, employee gross salary is equal to basic pay plus overtime pay. While employee net salary is equal to gross salary minus deductions. Both categories of workers are paid monthly (every four weeks). Therefore, the total regular hours worked per month is 160 hours.
WHAT IS REQUIRED
Write a complete program to show a clear demonstration of inheritance in Java. You are going to design a program that will store the information on the companys employees. Your program must have the following classes:
EmployeeMain: This class will contain the Main() method for your program.
Employee: This is the super class (parent class) for your program. It should contain the
following fields (attributes) and methods:
o Fields: employee names, identification numbers, status, date employed.
o Methods: A method to accept the field values. It should also contain a method to
display the field values (i.e. employee names, identification numbers etc.).
FullTime: This class is a sub class of the Employee class. This class should contain a field for storing full time employee salary and hours worked. It should also contain a method for calculating full time employee salary. Also, you are required to override the methods from
the Employee class.
Contract: This class is a sub class of the Employee class. The Contract class should
contain a field for storing contracted employee salary and hours worked. It should also contain a method for calculating a contracted employee salary. Also, you are required to override the methods from the Employee class.
Additional Requirements
a) Implement the classes mentioned above as different class files within the same project.
b) Use the correct data type and access modifiers in your classes.
c) Your classes should have any necessary or relevant constructors.
d) Both the FullTime and Contract classes should have an additional method for displaying all
employee information (i.e. employee names, identification numbers, salary etc.).
e) Create objects of the FullTime and Contract classes to invoke or call the methods they
contain. The objects must be created in the EmployeeMain class.
f) A word document explaining the program you created.
g) Create a 10 to 15-mintue recording to demonstrate your program solution as well as
showcasing and explaining your code.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MP Auditing And Assurance Services W/ACL Software CD ROM A Systematic Approach

Authors: William Messier Jr, Steven Glover, Douglas Prawitt

9th Edition

1259162346, 978-1259162343

More Books

Students also viewed these Accounting questions

Question

6. Explain the power of labels.

Answered: 1 week ago

Question

10. Discuss the complexities of language policies.

Answered: 1 week ago