Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Green Bike Company has created a new scheme to reward employees for selling bicycles. Sales are only made by either, a sales emp on

image text in transcribed

The Green Bike Company has created a new scheme to reward employees for selling bicycles. Sales are only made by either, a sales emp on the shop floor or by a sales agent, both of whom are considered sales people. Commission on the sale of each bicycle is to be paid to sales emp at a rate of 15% and to the sales agents at a rate of 10%. You are required to: - Write a Java application that implements the UML diagram above. - You are also required to create a tester class to illustrate to workings of the application and identify the types of employees stored in the collection. - The tester class will gather together two instances of SalesAgent and two instances of SalesEmp into one collection using an ArrayList and displays the employees name, their PPS number, the value of the sale and commission to be paid to each employee. The sale figure is to be inputted for each employee by the user and is used to calculate the commission

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2016 Riva Del Garda Italy September 19 23 2016 Proceedings Part 3 Lnai 9853

Authors: Bettina Berendt ,Bjorn Bringmann ,Elisa Fromont ,Gemma Garriga ,Pauli Miettinen ,Nikolaj Tatti ,Volker Tresp

1st Edition

3319461303, 978-3319461304

More Books

Students also viewed these Databases questions

Question

Acceptance of the key role of people in this process of adaptation.

Answered: 1 week ago

Question

preference for well defined job functions;

Answered: 1 week ago