Design a payroll system, JAVA Programming

Assignment Help:

For your project, you will be designing a payroll system for a company. The company will use the system to generate payroll reports based on different kinds of employees in the company.

Accordingly, your system will be built upon a series of classes, all diagrammed in the accompanying UML structure. The first class is an abstract class Employee which has the following attributes:

·         firstName - Stores the first name of the employee
·         lastName - Stores the last name of the employee
·         id - Stores a unique individual identification number for the employee

The Employee class also has the following behaviors:

·         getFirstName() - Returns the first name of the employee
·         getLastName() - Returns the last name of the employee
·         getID() - Returns the identification number of the employee
·         toString() - Formats and returns the employee's personal information
·         getDepartment() - Returns the employee's department as a string (used in subclass toString() implementations)
·         currentPay() - Returns the employee's current pay for the current pay cycle, based on how they are paid

All subclasses of the Employee class are to override the toString() method to individualize the output for the specific type of the employee.

All salaried employees are paid a base salary that is dispensed annually depending on the number of pay cycles. For example, if an employee makes $24,000 annually and is paid in 12 cycles, then their pay per cycle is $2,000. All CEO employees are salaried, and work in the Executive department. 

           All floor staff employees are paid a percentage of their sales based on a commission percentage per cycle. For example, if an employee makes $75,000 in sales and is paid 4.5% commission, then they earn $3,375 this pay cycle. All floor staff employees are commissioned, and work in the Sales department. 

           All help desk employees are paid per cycle based on an hourly rate for each hour worked. For example, if an employee earns $42.50 per hour and works 28 hours, then they earn $1,190 this pay cycle. All help desk employees are hourly, and work in the Support department. 

           You are responsible for creating and implementing all interfaces and implementing classes. They are to function as necessary within the general structure of the larger program, and are to be Employee types, as well. 

           The final class which you will write is a basic driver class. The output must correspond to the given screenshots. Your driver must accept user input in accordance with the screenshots provided. It must also provide the specific output provided in the screenshots.


Related Discussions:- Design a payroll system

Give an example of code using static and finalize, Give an example of code ...

Give an example of code using static and finalize Example Code: using static & finalize () We want to count exact number of objects in memory of a Student class the one de

Smugglers decodes , Smugglers are becoming very smart day by day. Now they ...

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

What are wrapper classes, What are wrapper classes? Java gives speciali...

What are wrapper classes? Java gives specialized classes corresponding to every of the primitive data types. These are known as wrapper classes. They are example: Integer, C

Who can an applet talk to, Who Can an Applet Talk To? By default an app...

Who Can an Applet Talk To? By default an applet can just open network connections to the system from that the applet was downloaded. This system is known as the codebase. An ap

I want an ehospital project, I am preparing ehopsital project. For the need...

I am preparing ehopsital project. For the needs of hospital in that billing module and patient registration and stores module and e.t.c module is there for hospital needs. Skill

Online Store Website, Project Requirements • Create your own online store ...

Project Requirements • Create your own online store Web site, selling products of your choice. • Create pages that allow you to search and buy available products, as well as add,

Program a pong game using rmi, Using RMI, program a PONG game that enables ...

Using RMI, program a PONG game that enables two users to play against one another. Pong class: package graphics;/* * Copyright (c) 2006, Your Corporation. All Rights Reserved. */

The characteristics of rup? , 1. RUP is relying on a few important principl...

1. RUP is relying on a few important principles and philosophies like planning ahead, knowing where the process is capturing and heading the project in extensible and storable mann

Write names of the dos attacks phases, Write names of the DoS attack's phas...

Write names of the DoS attack's phases? DoS (Denail of service): DoS attach has in total 3 kinds of phases and below they are listed: 1. Search 2. Arm 3. Attack

Implement decision tree algorithm using netbeans, Implement Decision Tree A...

Implement Decision Tree Algorithm using Netbeans (Java) & Microsoft Access 2007. "One Level is enough, output should contains gain of each attribute, the selected attribute and

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd