0

Derive two classes, DepAcc_2 and SavAcc_2

Derive two classes, DepAcc_2 and SavAcc_2, from the Account class. The SavAcc_2 contains the members of the base class and an interest rate. Marks [5] ■ For both classes, define constructors to provide default values for all parameters, add access methods, and add a display() method for screen output. ■ Test the new classes by initializing objects of the DepAcc_2 and SavAcc_2 types in the object declarations and outputting them. Then modify both savings and a deposit account interactively and display the new values.

29th May 2021, 6:07 AM
Khizar Ahmed
2 Réponses
+ 2
Post your code
29th May 2021, 7:44 AM
Atul [Inactive]
0
please post entire qstn
4th Jul 2021, 5:26 AM
SANATH GATTU
SANATH GATTU - avatar