Programming for bank saving accounts Assignments | Custom Homework Help

Supporting Activity: “is-a”

Using an example from your work or daily life, describe an “is-a” relationship. Why is an “is-a” relationship important when designing an inheritance between classes?  What are the differences between “is-a” and “has-a” relationship?

Supporting Activity: Savings Account

You are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, the teller needs to ask what kind of account–passbook savings or certificate of deposit–the customer would like to open. Remind the customer that all accounts with our bank are insured by the FDIC. You should explain that all accounts earn some interest; a savings account’s interest is compounded monthly. You should assign a unique account number after accepting the customer’s initial deposit. If the customer chooses to receive statements electronically, the system will send an e-mail with a monthly statement; if the customer chooses not to, then a paper statement will be sent by mail quarterly.

If savings account is a class, give an example of each of the following as it relates to that savings account. Explain your reasoning behind your example.

  • Superclass
  • Subclass

Individual Assignment:

  • Compare Total Compensation. You will compare the total annual compensation of at least two sales persons. That means that it MUST be able to compare two, three or more sales persons.
  • Calculate Extra Sales. It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners. NOTE that you are computing the extra sales required to achieve the same compensation. Sales and compensation are related but different.
  • Sales Person’s Name. The application should ask for the name of each salesperson being compared. Note that in Java, an object represents an entity. The sales person’s name goes with the data about the sales person’s annual sales, base salary, commission rate, etc.
  • The Java™ application should also meet these technical requirements:
    • The application should have at least one class, in addition to the application’s controlling class. THAT means TWO CLASSES or more.
    • The source code must demonstrate the use of Array or ArrayList.
    • There should be proper documentation in the source code.

Modify the Week Three Java application using NetBeans IDE to meet these additional and changed business requirements:

  • The application will now compare the total annual compensation of at least two salespersons.
  • It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners.
  • The application should ask for the name of each salesperson being compared.

The Java application should also meet these technical requirements:

  • The application should have at least one class, in addition to the application’s controlling class.
  • The source code must demonstrate the use of Array or ArrayList.
  • There should be proper documentation in the source code.
Calculate your paper price
Pages (550 words)
Approximate price: -