describe an abstract class bank having abstract


Describe an abstract class 'Bank' having abstract methods as 'CreateAccount' 'depositAmount' & 'withDrawAmount'.Add method definitions for 'CalculateInterest' and 'SetInterest' as NonOverridable. Describe two classes 'BharatiBank' & 'RupeeBank' to derive from bank classes. In main method, make objects of 'BharatiBank' and 'RupeeBank' to show bank type and call their respective methods. Can Bank type call the derived classes own methods that are not defined in bank?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: describe an abstract class bank having abstract
Reference No:- TGS0212253

Expected delivery within 24 Hours