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. also make the GUI simple and make the code simple onto one file
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. 4) Has to be original and one of a kind. Same projects have been bidded for and bought, must be unique.
needs to run on j creator and unix