Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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.

Java, Programming

  • Category:- Java
  • Reference No.:- M9540430

Have any Question?


Related Questions in Java

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Assessment database and multithread programmingtasktask 1

Assessment: Database and Multithread Programming Task Task 1: Grade Processing University grading system maintains a database called "GradeProcessing" that contains number of tables to store, retrieve and manipulate stud ...

Can someone kindly help me to consider whether java

Can someone kindly help me to consider whether Java provides the facility of operator overloading? If it does, may you kindly describe how overloading operators can be accomplished? If not, may you kindly describe why yo ...

Object-oriented software development1 introduction 11

OBJECT-ORIENTED SOFTWARE DEVELOPMENT 1. Introduction 1.1 Assignment Requirement 1.2 Deliverables and Structure (what to submit) 1.3 Software Restrictions 1.4 How to score high... 1.5 Assumptions 2. System Requirements 2. ...

Assessment instructionsin this assessment you will design

Assessment Instructions In this assessment, you will design and code a simple Java application that defines a class, instantiate the class into a number of objects, and prints out the attributes of these objects in a spe ...

Solving 2nd degree equationsbull write the following java

Solving 2nd degree equations • Write the following Java methods • boolean real-sols(double a, double b, double c): it returns true if the 2nd degree equation ax2 + bx + c has real solutions • double solution1(double a, d ...

Assessment database and multithread programmingtasktask 1

Assessment: Database and Multithread Programming Task Task 1: Grade Processing University grading system maintains a database called "GradeProcessing" that contains number of tables to store, retrieve and manipulate stud ...

Assessment instructionsin this assessment you will complete

Assessment Instructions In this assessment, you will complete the programming of two Java class methods in a console application that registers students for courses in a term of study. The application is written using th ...

Assignment - method in our madnessthe emphasis for this

Assignment - "Method in our Madness" The emphasis for this assignment is methods with parameters. In preparation for this assignment, create a folder called Assign_3 for the DrJava projects for the assignment. A Cityscap ...

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As