subject

An employee should have a first name, last name, and id number.
a hourly employee should have a wage and a number of hours worked.
a commission employee should have a commission rate and gross sales
and a commission + base employee should have a base salary.
each class should have appropriate constructors, set methods, and get methods.
write a program that instantiates objects of each of these classes and outputs all the information associated with each object (including inherited information).

uml diagram to turn in:

this is the simplified uml diagram, unified modeling language let's you design your programs with is a and has a models. before you start to program the inheritance program first you should use the uml diagrams and add the items you will need in each class, such as method names, return values, input parameters, and any instance fields you will need. do it in word and use the insert to create a textbox that you can add the methods and variable names, then use the insert arrows to show the relationships. make sure you say what variables need to be private, public and protected.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 13:30, zeesharpe05
Using the find and replace tool would be most appropriate when changing the company name when the same letter is sent to different companies. inserting a date field. suggesting alternate word choices with the same meaning. placing images alongside text.
Answers: 3
image
Computers and Technology, 22.06.2019 17:00, Janznznz1121
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
image
Computers and Technology, 24.06.2019 06:50, emmv565628
What are the things you are considering before uploading photos on social media?
Answers: 1
image
Computers and Technology, 24.06.2019 13:00, brusawerin5969
Refer to the figure and match the theorem that supports the statement.1.if chords are =, then arcs are =.if bc = de, then arc bc = arc de2.if arcs are =, then chords are =.if arc bc = arc de, then bc = de3.diameters perpen
Answers: 3
You know the right answer?
An employee should have a first name, last name, and id number.
a hourly employee should have...

Questions in other subjects:

Konu
Mathematics, 30.10.2020 20:20
Konu
Mathematics, 30.10.2020 20:20
Konu
Health, 30.10.2020 20:20