Assignment directions: The following assignment is a bankingsystem. There is a parent class, and three child classes. Write aseries of classes to represent an inheritance relationship.
Parent Class: BankAccount
Child Classes: Checking, Savings, Loan
Requirements:
The following methods must be included in eachindividual child class files
instance data variables
constructor(s)
getters and setters
overridden toString method
overridden equals method
your classes must have a total of at least three class-specificmethods (you can have just simple printlns as the methodimplementation for now)
write a driver program to demonstrate yourclasses
create an array or ArrayList using the parent class as thedeclared type
fill with several different child objects
invoke at least two methods on the objects
PayPal Gateway not configured
PayPal Gateway not configured