Java:
An Account class models a bank account. The Account class hasthe properties account number, balance, annual interest rate, anddate created. It also has methods to deposit and withdraw funds.The date created should use a class defined in assignment 1…eithera Date class or a LongDate class will suffice. The Account classshould also be abstract.
Design and write two subclasses of Account…SavingsAccount andCheckingAccount. A checking account has an overdraft limit, but asavings account cannot be overdrawn.
Write a program that creates a SavingsAccount object and aCheckingAccount object, and makes at least two deposits andwithdrawals from each account.
Expert Answer
An answer will be
PayPal Gateway not configured
PayPal Gateway not configured