Question: solve it as soon as possible only in java* Create a class named SavingsAccount to represent the Bank account. [6 marks] 1) Add one static

 solve it as soon as possible only in java* Create a

solve it as soon as possible only in java*

Create a class named SavingsAccount to represent the Bank account. [6 marks] 1) Add one static variable called annuallnterestRate to store the annual interest rate ii) Add a private instance variable savings Balance to store the current balance amount in the account I) Provide a method to calculate Monthly interest based on the savings Balance and add the interest to the savings Balance 1) Provide a static method modifyinterestRate that sets the annualInterestRate to a new value V) Write a Test class to test the capabilities of class SavingsAccount. Instantiate two savingsAccount objects, Acc1 and Acc2 with balances of Rs 2000.00 and Rs.3000.00, respectively. Set annuallnterestRate to interest and print the new balances for both Accounts

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 Databases Questions!