1-Create the super class “Bank_Account” that has the following instance variables, constructor, and methods
Account number
Name
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines
Order Paper NowSSN
Phone number
Balance
Constructor
set/get methods
toString method
2-Create the sub class “Checking_Account” of super class “Bank_Account” that has the following instance variables, constructor, and methods
Account number
Name
SSN
Phone number
Balance
Constructor
set/get methods
withdraw method
deposit method
toString method
3-Create the sub class “Saving_Account” ofsuper class “Bank_Account” that has the following instance variables, constructor, and methods
Account number
Name
SSN
Phone number
Balance
interest
Constructor
Set/get methods
withdraw method
deposit method
compute_earning
toString method
4-Create the “Testing” class that has the main method and does the following:
Use the constructor to create object of Bank_Account class
Use the constructor to create object of Checking_Account class
Use the constructor to create object of Saving_Account class
Call the toString, deposit, and withdraw methods in Checking_Account class.
Call the toString deposit, withdraw, and compute_earning methods in Saving_Account class.