Menu

[solved] – Question 83920

1)Create an abstract class named Account (include methods like Deposit, Withdrawal and properties like AvailableBalance, MinBalanceRequired)

a) Derive classes SavingAccount & CurrentAccount from Account. You can use some additional properties & methods in these derived classes
b) In the main program, give an option to the user to create any type of account and then give the options to Deposit, Withdraw & check balance. Also give a warning to user as soon as Available balance goes below MinReqdBalance.

Use—Abstract Class, Properties, Constructors, User defined Exception, Function overloading. Static Members

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *