Create an abstract class “Account” with abstract method “calculateInterest()”. Implement two subclasses “SavingsAccount” and “CurrentAccount” which extend “Account” and implement the “calculateInterest()” method. Create objects of both classes and test…
© Study Trigger. All Rights Reserved