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'.$100, $150 and $200 are deposited in banks A,B 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!