Write BankAccount class as discussed in the class, along the main class that uses it. Remember that two classes should be in separate files.
1.) BankAccount class should have two instance variables; account holder's name and balance
2.) Write a constructor method to set the value of the instance variable that contains the account holder's name to an empty string ("")
3.) Add two constructor methods:
a.) One that has account holder name and initial deposit amount as parameters, and
b.) One that has only account holder name as a parameter. (This one should set the balance to 0.)
4.) Write the accessors methods to get the account holder's name and balance in his account
5.) Add an operation to transfer an amount from one bank account to another.
6.) Add an operation to apply interest to the account. The interest amount should be .001 times the current account balance.
Write the main method to:
1.) Create two BankAccount objects. The holder of one account should be Edward Bennett, with an initial deposit of $10,000. The holder of the other account should be Lizzy Bennett, with no initial deposit.
2.) Add an instruction to transfer $500 from Edward Bennett's account to Lizzy Bennett's account.
3.) Add instructions to apply interest to each of the accounts.
4.) Add instructions to print the name of the account holder followed by the current balance of the account for each of the two accounts.