Question: create an abstract class'Bank' with an abstract method 'getBanlance'.$ 1 0 0 , $ 1 5 0 and $ 2 0 0 are deposited in
create an abstract class'Bank' with an abstract method 'getBanlance'.$ $ and $ are deposited in banks AB and C respectively. 'BankA','BankB' and 'BankC' are subclasses of class'Bank', each having a method named 'getBanlance'. Call rhis method by creating an object of each of the three classes
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
