java bank account
This project was awarded to klickers for $12 USD.Get free quotes for a project like this
Project Budget$15 - $20 USD
need the code soon as posible with design and comments
Design and implement an object-oriented program describing two kinds of bank accounts, FixedFee and ChargeableFee, that differ in the way that fees are charged: · FixedFee: There is a fixed £[url removed, login to view] fee at the end of the each month · ChargeableFee: Each withdrawal costs £0.50. The total fee is calculated and charged at the end of the month. The goal for the problem is to use inheritance so as to avoid duplicating code between the two kinds of account class. This can be done by arranging them in a hierarchy below a common abstract account class. Besides designing and implementing the account classes, you should create two further classes containing main() methods. One of these should be an interactive application program acting like a Bank, that allows the user to open an account, deposit and withdraw cash and see the monthly statement. User interaction can take place on the console, via pop up windows, or using a full GUI. The other class should be a non-interactive test class that checks the functionality of the account classes. Both kinds of account class should store the current balance and contain the following methods. · constructor(initial Balance) creates a new account. · deposit(amount) adds amount to the balance. · withdraw(amount) subtracts the amount from the balance. · endMonth() this method will be called once a month. It should levy any monthly fee at that time and print out the monthly bank account statement. The ChargeableFee account will also need to store a running total of the number of transactions and the methods will have to update this appropriately. Your solution should comprise the following. 1. Analysis and Design: (i) a class diagram outlining the class structure for your proposed solution. (ii) a set of summary tables describing the fields, constructors and methods for each class you intend to create. 2. Implementation: A print out of the Java source code of your complete program. That is - each of the account classes, the application class and the test class. 3. Test Results: A print out of the output from your test program with evidence of data validation. Also a set of proposed test cases presented in tabular format.
windows and unix
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online