Create an account class with following given UML Diagram:
UML DIAGRAM
Account Class:
+ name
+ accountNumber
+ balance
+ deposit():double
+ withdraw():double
+ addIntrest():double
+ getBalance():double
+ toString():String
Create another TestAccount class:
Create the account object and use all the methods created in account class.
Deposit(): it should add amount decide by the user. So taken from console
Withdraw(): it should remove money from the account. But should ask if withdraw large amount
Getbalance(): should show the balance user has.
-> Withdraw more then balance Not allow
-> Deposite method
-> Two user
-> Equals in toString two names of user