You are a developer for computer house, and you asked to design a salary software system for a company. The company has two departments (Production - Marketing). Each department has a name and several employees. Each employee has a name, position, date of birth and salary stored in the system in addition to ID. There are two types of employee: supervisor and normal staff. The supervisor has a number of years' experience in addition to the other information, while the normal staff has a level. You should implement a calculation salary method to calculate the salary for each employee depending on his type. The supervisor will have addition to his normal salary a 3% multiply his experience years of his normal salary. The normal staff will have addition depending on his level. Level 1 3% Level 2 5% Level 3 6% You should create the necessary class objects and methods for testing your program. Read the information of each department employee (2 supervisors - 3 staff). Then, your program will read the name of the employee and check his existence. If the employee of type supervisor, the program should read a number of years' experience to calculate his salary. For the normal staff, it should the number of level and calculate his salary. Finally, sort the employees based on the salary to arrange them in ascending order before printing their information on the screen. Using: Abstract class Encapsulation Composition polymorphism toString() instanceof

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
I need the answer as soon as possible
Object Oriented Programming
You are a developer for computer house, and you asked to design a salary software
system for a company.
The company has two departments (Production - Marketing). Each department has
a name and several employees. Each employee has a name, position, date of birth and
salary stored in the system in addition to ID. There are two types of employee: supervisor
and normal staff. The supervisor has a number of years' experience in addition to the other
information, while the normal staff has a level. You should implement a calculation salary
method to calculate the salary for each employee depending on his type. The supervisor will
have addition to his normal salary a 3% multiply his experience years of his normal salary.
The normal staff will have addition depending on his level.
Level 1
3%
Level 2
5%
Level 3
6%
You should create the necessary class objects and methods for testing your program.
Read the information of each department employee (2 supervisors- 3 staff). Then, your
program will read the name of the employee and check his existence. If the employee of
type supervisor, the program should read a number of years' experience to calculate his
salary. For the normal staff, it should the number of level and calculate his salary. Finally,
sort the employees based on the salary to arrange them in ascending order before printing
their information on the screen.
Using:
Abstract class
Encapsulation
Composition
polymorphism
toString()
instanceof
Transcribed Image Text:Object Oriented Programming You are a developer for computer house, and you asked to design a salary software system for a company. The company has two departments (Production - Marketing). Each department has a name and several employees. Each employee has a name, position, date of birth and salary stored in the system in addition to ID. There are two types of employee: supervisor and normal staff. The supervisor has a number of years' experience in addition to the other information, while the normal staff has a level. You should implement a calculation salary method to calculate the salary for each employee depending on his type. The supervisor will have addition to his normal salary a 3% multiply his experience years of his normal salary. The normal staff will have addition depending on his level. Level 1 3% Level 2 5% Level 3 6% You should create the necessary class objects and methods for testing your program. Read the information of each department employee (2 supervisors- 3 staff). Then, your program will read the name of the employee and check his existence. If the employee of type supervisor, the program should read a number of years' experience to calculate his salary. For the normal staff, it should the number of level and calculate his salary. Finally, sort the employees based on the salary to arrange them in ascending order before printing their information on the screen. Using: Abstract class Encapsulation Composition polymorphism toString() instanceof
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY