Write a program to simulate a bank

Assignment Help Programming Languages
Reference no: EM132211681

Question: Write a program to simulate a bank which includes the following. Include a commented header section at the top of each class file which includes your name, and a brief description of the class and program.

Create the following classes: (at least 3 classes total)

Bank

Customer

Account

At a minimum include the following data fields for each class:Bank

Routing number

Customer

First name

Last name

Account (Note that the Customer class contains the Account class as one of its data members.)

Account

Account number

Balance

Minimum balance

Overdraft fee

At a minimum write the following methods for each class:

Bank

(public static void main(String[] args) ; The Bank class will contain the main method.

Create new customer

Find Customer (Given an account number or customer name, retrieve the related customer and account.)

The bank must be able to contain multiple customers and multiple accounts. (This generally means the Bank class should include an array or Array List of Customer class objects.) The bank should be able to look up each customer by name and / or account number when performing transactions, such as withdrawals, deposits and balance inquiries.

Customer

OpenAccount

CloseAccount

GetAccount

Account

GetBalance

DepositFunds

WithdrawFunds

PrintAccountInfo

For added functionality, you may choose to create a base class of "Account" which you extend into derived classes checking and savings account classes.

In your main method within the Bank class, you may perform the bank operations using user input, or you may code the operations directly within your main method in the Bank class. For example, your program may contain a user menu with options such as withdraw, deposit, find customer, etc. Or you may simply hard code the operations directly in your main method such as create customer 1, deposit $100, withdraw $50, etc.

Reference no: EM132211681

Questions Cloud

Job evaluation translate internal alignment policies : How does job evaluation translate internal alignment policies into practice? What does organization strategy and objectives, flow of work
What is the approximate yield the company would pay : Fernando Baltra Company wished to issue zero coupon straight debt with approximately a 15-year maturity. What is the approximate yield the company would pay
Write a program sequence to generate a tone : Write a program sequence to generate a tone of 125Hz for about a second and then stop, by interfacing with the speaker on the Dragon 12_Light board.
What is managerial decision making example : What is a managerial decision making example that is best suited for Unstructured decisions? Be detailed in your response
Write a program to simulate a bank : Write a program to simulate a bank which includes the following. Include a commented header section at the top of each class file which includes your name.
Use the four primary risk management techniques : Discuss how Apple might use the four primary risk management techniques.
Consultant that includes section on equipment replacement : An office manager has received a report from a consultant that includes a section on equipment replacement.
Write a program segment to figure out all prime numbers : Write a program segment to figure out all prime numbers below 100, store the count of these prime numbers variable countPrimes, store the found prime number.
Lead within changing business environment is important : An explanation or description of why the need to adapt and lead within a changing business environment is important.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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