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

Why there is a need to use primary key in database, Why there is a need to ...

Why there is a need to use primary key in database ? Primary key is a constraint basically used in datdabase to uniquely identify the records in the database.

Write a java code to draw ovals and circles, Write a java code to draw Oval...

Write a java code to draw Ovals and Circles? Java has techniques to draw outlined and filled ovals. As you'd probably guess these methods are called drawOval() and fillOval() c

What is the data normalization also define its goal, What is the Data Norma...

What is the Data Normalization? Also define its goal. Data normalization is to sort out complex data within easy form. It uses to simplify the complex information to form it mo

Code for calculatr, how i made a calculator in java plz tell help me

how i made a calculator in java plz tell help me

What are access specifiers available in java, What are Access Specifiers av...

What are Access Specifiers available in Java? Java has four access specifiers, which are enlisted below: Public: public methods, classes and fields can be accessed by ever

Create a program using constructors, Create a program Using Constructors? ...

Create a program Using Constructors? The further program uses the constructor to initialize a car rather than setting the areas directly. class CarTest7 { public static voi

Agile software development processes, Agile software development process is...

Agile software development process is receiving popularity  and  momentum  across organizations. Highest priority is to satisfy the end user. Welcome requirement modifie

Differentiation between a vector and an array, Differentiation between a V...

Differentiation between a Vector and an array . Explain in Brief about the pros and cons of both?

write program a, How do I write a program a bout Rotor cipher

How do I write a program a bout Rotor cipher?

What is the point-to-point model in jms, A point-to-point model is based on...

A point-to-point model is based on the concept of a message queue: Senders send messages into the queue, and the receiver reads messages from this queue. In the point-to-point mode

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