Sale!

Solved CSCI 470/502 Assignment 5: Payroll Birthday Bonus App

$35.00 $21.00

Original Work ?

Download Details:

  • Name: assignment5-kphiq0.zip
  • Type: zip
  • Size: 181.40 KB

Category: Tags: , You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (1 vote)

In this app, you will modify the payroll system code provided to you with this assignment on Blackboard
in the zipped file named Starter Code. Using code examples in 10. Object-Oriented Programming –
Polymorphism and Interfaces slides, this should not be too complicated.

• Add a private instance variable birthDate to the Employee class.
• Use class Date – also provided to you with this assignment on Blackboard – to represent an employee’s
birthday.
• Add get methods to class Date.
• Assume that payroll is processed once per month.

• Create an array of Employee variables to store references to the various employee objects.
• In a loop, calculate the payroll for each Employee (polymorphically), and add a $100.00 bonus to the
person’s payroll amount if the current month is the one in which the Employee’s birthday occurs.
• Use the sample output provided to test your app.

Submit your .java files on Blackboard as before. DO NOT INCLUDE THE OUTPUT, .java~ or .class
files!