Programming project comprises writing a program that

Assignment Help Computer Engineering
Reference no: EM13469484

Programming project involves writing a program that computes the average salary for a collection of employees of different types. This program consists of four classes. The first class is the Employee class, which contains the employee's name and monthly salary, which is specified in whole dollars. It should have two methods:

1. A constructor that allows the name and monthly salary to be initialized.

2. A method named annualSalary that returns the salary for a whole year.

The Employee class has two subclasses. The first is Salesman. It has an additional instance variable that contains the annual sales in whole dollars for that salesman. It should have the same two methods:

1. A constructor that allows the name, monthly salary and annual sales to be initialized.

2. An overridden method annualSalary that returns the salary for a whole year. The salary for a salesman consists of the base salary computed from the monthly salary plus a commission. The commission is computed as 2% of that salesman's annual sales. The maximum commission a salesman can earn is $20,000.

Reference no: EM13469484

Questions Cloud

Would you usually recommend a clean install or an in-place : what upgrade options exist for moving from server 2008 r2 to server 2012? what limitations or caveats should be
Recent history illustrates that bullying is a growing : recent history illustrates that bullying is a growing problem among todays youth in the united states. amanda todd for
How did you approach the situation what steps or actions : in a 2-4-page paper describe a personal experience in which you or someone you know had to make a moral decision-for
Must have a begining middle and end this needs to be : human trafficking five page pager doubled spaced 12 point font two research resources and one academic source all
Programming project comprises writing a program that : programming project involves writing a program that computes the average salary for a collection of employees of
How much thermal energy is evolved by the reaction in a : how much thermal energy is evolved by a reaction in a calorimeter in which the temperature of the calorimeter and water
How does terrorism differ from other forms of violence how : how does terrorism differ from other forms of violence? how does motivation distinguish terrorist acts from other
1000-1500 word memo details your supervisor mr williams : 1000-1500 word memo details your supervisor mr. williams explains that you and one of the other senior partners will be
What changed jeffrey wigands mind in agreeing to do the : 1. what changed jeffrey wigands mind in agreeing to do the interview with 60 minutes? discuss2. did you learn something

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd