Page 1 of 1

create an interface for Bank with balance withdraw and deposit as concrete methods. using that interface, create a class

Posted: Thu May 26, 2022 9:30 am
by answerhappygod
create an interface for Bank with balance withdraw and deposit as concrete methods. using that interface, create a class bank account with data members name, account number and address method display () is needed to show balance. derive a subclass savings account and add the following details: return on investment and the method calcAmt() to show amount in the account after 1 year.create instance of savings account and show the use of withdraw and deposit abstract methods