Create class SavingsAccount. Use a static variable annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingsBalance indicating the amount the saver currently has on deposit. Provide method calculateMonthlyInterest to calculate the monthly interest by multiplying the savingsBalance by annualInterestRate divided by 12- this interest should be added to savingsBalance. Provide a static method setInterestRate that sets the annualInterestRate to a new value. There should also be a method setSavingsBalance to set the initial savings balance for a new saver or you can do it through a constructor.
Write a program to test class SavingsAccount. Instantiate two SavingsAccount objects, saver1 and saver2, with balances of $2000.00 and $3000.00, respectively. Set annualInterestRate to 4%, then calculate the monthly interest for 12 months and print the new balances for both savers. Next, set the annualInterestRate to 5%, calculate the next month's interest and print the new balances for both savers.
Put the code to test the class in the main method of the Savings Account Class. The output of your program should look like the following:
Hello Sir,
I am interested in your project. I have completed lots of projects in java. I have checked your docx file and I am using netbeans IDE. I am ready to start right now.
Sincerely
bdlions
$25 USD w 1 dzień
5,0 (32 opinii)
5,0
5,0
13 freelancerzy składają oferty o średniej wysokości $73 USD dla tej pracy
Hi
I have great experience in java development and I can do this job for you according to your requirements.
If you have any query please inbox me
Thanks
Hi sir, I am expert in Java and can do this task within a day. Let me know if you have some additional requirements, And we can discuss budget later...
Hi I have great experience in Java development, recently I made same program using same formula for interestRate I will provide you solution of this program quickly.
looking for your response.
Thanks
i'm good in java programming. so I would be a good choice for this.
we can discuss further details in chat box. Its not a big deal. waiting for your response. cheers!
Hi - I can make changes as required, I have been working in java since my start of carrier. Will go through the document and once you finalize then will start working on it.
Hi, I am an expert at Java and have a postgrad in Information Technology. I have more than enough expertise to get your project done. This is a very simple project and I can easily do it for you.
I would be glad to help you out.
Thank-you
I work in a co-working environment so I can complete this project with speed & accuracy. I will done your project in full professional way according to your requirements and my creative ideas. I am doing java development from last 5+ years. I can also show my past projects to you in chat So inbox sir I will further Insist you there. Trust me you really appreciate my work mark my words sir. kindly share details over chat inbox me.. Your satisfaction is my first priority. i have also developed poker game using java and AI on netbean inbox me i will show you
Hi, my name is Ased. I have a fully professional team of a Java Developer. They are best at their work. We will complete your work on time and within the budget. Hope that you will enjoy working with us. Thanks