. Create an abstract class ‘Bank’ with abstract methods ‘getBalance’ and ‘deposit’. ‘BankA’, ‘BankB’ and ‘BankC’’ are subclasses of class ‘Bank’, each having methods named ‘getBalance’ and ‘deposit’. 1000, 1500 and 2000 are deposited in banks A, B and C respectively using the ‘deposit’ method. Call the ‘getBalance’ method to print balance for the three classes. 2. Write a Java program to – Create an interface called Vehic
Course: CSE – 202 Task No: 3 1. Create an abstract class ‘Bank’ with abstract methods ‘getBalance’ and ‘deposit’. ‘BankA’, ‘BankB’ and ‘BankC’’ are…