-
Inheritance Program
I need to write a class titled employee. This class needs to hold data for an employee's name, ID#, and their date of hire. Then i need to write a class called production worker, that extends employee. this class will hold weather they work shift 1, or 2, and their pay rate.
After that i need to write a class called teamleader that extends production worker and this is going to hold how many training hours are needed to be a team leader, how many the employee has, and how much of a bonus a team leader gets.
This all needs to be outputted in the main program.
Also, i need to set 'get' and 'set methods in the program.
Sorry if i am not very clear with what i am trying to accomplish, its probably because i am completely lost with what i have to do.
Thanks for the help.
-
-
Start with a tree and come back for some help
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks