please answer this question for me A bank has two types of accounts: Savings Accounts and Current Accounts. Both accounts allow customers to deposit and withdraw money and have an account number as well as an owner (a person name and address). However, they do behave differently in some aspects.
Savings accounts do not allow users to withdraw more money than the current balance, but accrue interest (that is when an interest amount is calculated it is added to the account). Current accounts might have an overdraft facilities (that is a negative balance up to which withdrawels are permitted). The overdraft comes with a flat charge of
2£ per day. You must develop a sensible class structure to capture these accounts and provide methods for their specific features ( deposit , withdrawel , compute _ interest
, add _ overdraft _ charge and display _ balance ). Note that you do not need to handle time, that is you can assume that the bank’s final code will use the compute _ interest method once a month and that the add_overdraft_charge method is used daily. You will be assessed both on functionality as well as good object oriented design. Also note that you should not use a database – this exercise is about OO design and implementation. [
4) Develop a web services for the bank accounts in the previous task. You will only need to implement the methods relevant to clients: deposit , withdrawel and display _ balance . Note that you will need to decide on good interfaces for your web service methods