assign2xxx1a.1

assign2xxx1a.1 - accepts the bonus amount and adds it to...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Implement a class called Employee . An employee has a name and gets a salary. Every pay period each employee gets an additional amount in bonus. Include a constructor that accepts the name and salary of an employee. Provide a mutator method that
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: accepts the bonus amount and adds it to the salary. Provide necessary accessor methods to return each field value. Write a test class called TestEmployee to produce output similar to the one below....
View Full Document

This note was uploaded on 01/06/2012 for the course COP 2250 taught by Professor Staff during the Fall '08 term at FIU.

Ask a homework question - tutors are online