Using object-oriented inheritance, create an inheritance hierarchy with at least five classes of different employee categorization...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Using object-oriented inheritance, create an inheritance hierarchy with at least five classes of different employee categorization to simulate the payment of a bonus as well as annual increment in an organization. The payment process depends on the level of the employee in the hierarchy as well as his achievements. Table Q2 shows sample of achievement levels associated with their corresponding percentage of the annual increment and bonus payment according to the basic salary. Table Q2: Achievement and Bonus Percentage Annual Increment Achievement 1 (Outstanding) 2 (Exceeds Requirements) 3 (Meets Requirements Hight) 4 (Meets Requirements Solid) 5 (Meets Requirements Low) 6 (Below Requirements) Percentage 7% 5% 3% 2.5% 1% 0% Bonus Payment in Months 7 5 3 2.5 1 0 Draw the UML class diagrams for the proposed inheritance hierarchy and develop all classes in the inheritance hierarchy using Java programming language. Implement a Java driver class that creates employees from different levels in the inheritance hierarchy and performs the bonus calculations as well as payments polymorphically for the company. Using object-oriented inheritance, create an inheritance hierarchy with at least five classes of different employee categorization to simulate the payment of a bonus as well as annual increment in an organization. The payment process depends on the level of the employee in the hierarchy as well as his achievements. Table Q2 shows sample of achievement levels associated with their corresponding percentage of the annual increment and bonus payment according to the basic salary. Table Q2: Achievement and Bonus Percentage Annual Increment Achievement 1 (Outstanding) 2 (Exceeds Requirements) 3 (Meets Requirements Hight) 4 (Meets Requirements Solid) 5 (Meets Requirements Low) 6 (Below Requirements) Percentage 7% 5% 3% 2.5% 1% 0% Bonus Payment in Months 7 5 3 2.5 1 0 Draw the UML class diagrams for the proposed inheritance hierarchy and develop all classes in the inheritance hierarchy using Java programming language. Implement a Java driver class that creates employees from different levels in the inheritance hierarchy and performs the bonus calculations as well as payments polymorphically for the company.
Expert Answer:
Related Book For
Organizational Behaviour Concepts Controversies Applications
ISBN: 978-0132310314
6th Canadian Edition
Authors: Nancy Langton, Stephen P. Robbins, Timothy A. Judge, Katherine Breward
Posted Date:
Students also viewed these banking questions
-
Delph Company uses a job-order costing system and has two manufacturing departments-Molding and Fabrication. The company provided the following estimates at the beginning of the year: Machine-hours...
-
List three specific parts of the Case Guide, Objectives and Strategy Section (See below) that you had the most difficulty understanding. Describe your current understanding of these parts. Provide...
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
A taxpayer has qualified business income of $50,000 from partnership A and a qualified business loss of $30,000 from partnership B. Wages allocable to the taxpayers interest in partnership A were...
-
Prairie Snow removal began 2014 with total assets of $44,000 and total liabilities of $18,000. At the end of 2014, the business's total assets were $50,000 and total liabilities were $20,000....
-
Evaluate the following statement: "In an important sense, the term policy irrelevance proposition is misleading because even if the rational expectations hypothesis is valid, economic policy actions...
-
Two people differ in age by 1.5 years. Their heights and weights are the same, and their lung capacities are measured at the same pressure and temperature. By how much should we predict their lung...
-
Quigley Inc. is considering two financial plans for the coming year. Management expects sales to be $301,770, operating costs to be $266,545, assets to be $200,000, and its tax rate to be 35%. Under...
-
Q6. Use the following information to answer Q6a, Q6b & Q6c [1 mark for each wholly correct answer]. Kumasi Co. sells two types of roofing tiles. One type of tile is made from natural quarried slate...
-
Go to the Webinars worksheet. DeShawn wants to determine the number of webinars the company can hold on Tuesdays and Thursdays to make the highest weekly profit without interfering with...
-
Q2. Bank Run (30 points) Assume that there is an economy populated by a continuum [0,1] of households living in three periods, 0, 1, and 2. In period 0, each household is endowed with one unit of...
-
Evaluate the function k (x)=5x + 4x for the given value of x. Simplify your answer.
-
One of the methods for deciding how much life insurance to buy is to consider how much future income would be lost in the event of a premature death and buy enough life insurance today to replace...
-
.The vertical distance h travelled by a freely falling body can be computed from the formula h = vot + gt2 where vo is the initial velocity, g is the gravitational acceleration, and t is the time of...
-
2. Use linear approximation to approximate 10 - 1.0012/(5.002).
-
The following items are taken from the financial statements of Pelle Ltd. For the year ended December 31, 2022: ...... Accounts payable.............................................................
-
You invest in 200 shares of Lerner windows stock and receive a semiannual dividend of $0.78 a share. At that rate, what will be your Annual income from the investment? 2. Nadia livuski owns 400...
-
The liquidliquid extractor in Figure 8.1 operates at 100F and a nominal pressure of 15 psia. For the feed and solvent flows shown, determine the number of equilibrium stages to extract 99.5% of the...
-
Ben Kaufman is the CEO of Kluster, a web-based company that invites individuals and companies to send in ideas for new products. At age 17, Kaufman started his career as a web designer, but soon...
-
What creates dependency? Give an applied example.
-
Many companies proudly promote their team culture. At Toyota, teamwork is one of the core values. Individualism is deemphasized. In its place is a system in which people are seen as intertwined value...
-
The equations of motion of a two-degree-of-freedom system are given by \(2 \ddot{x}_{1}+6 x_{1}-2 x_{2}=5\) and \(\ddot{x}_{2}-2 x_{1}+4 x_{2}=20 \sin 5 t\). Assuming the initial conditions as...
-
The ends of a beam are elastically restrained by linear and torsional springs, as shown in Fig. 11.11. Using the finite difference method, express the boundary conditions. k W(x) k 00000 Deflected...
-
Find the natural frequencies of a fixed-fixed bar undergoing longitudinal vibration, using three mesh points in the range \(0
Study smarter with the SolutionInn App