java inheritance computer science assignment help

1-Create the super class “Bank_Account” that has the following instance variables, constructor, and methods

Account number

Name

SSN

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.

"Is this question part of your assignment? We can help"

ORDER NOW