A simple Java app but I am confused on how to do an interface asopposed to an abstract class. Bank Account Manager- Create a classcalled “Account” which will be an interface for three other classescalled “CheckingAccount”, “SavingsAccount” and “BusinessAccount”.Manage credits and debits from these accounts through an ATM styleprogram.
Example UI below:
1 – withdrawal Deposit 2 3 – Balance Please select an ATM option -1 to exit1 Enter your account >> 123 You have a checking account Enter amount to withdraw 50 Account 123 has a balance of: $50.00 withdrawal 1 Deposit 2 3 – Вalance Please select an ATM option -1 to exit Show transcribed image text 1 – withdrawal Deposit 2 3 – Balance Please select an ATM option -1 to exit1 Enter your account >> 123 You have a checking account Enter amount to withdraw 50 Account 123 has a balance of: $50.00 withdrawal 1 Deposit 2 3 – Вalance Please select an ATM option -1 to exit
Expert Answer
Answer to A simple Java app but I am confused on how to do an interface as opposed to an abstract class. Bank Account Manager- Cre…