|
Tuesday, 07 July 2009 18:08 |
|
I have attached the File that these changes need to be made to. Only the following changes need to be made to the attached code.
A program written in Java that will calculate and display the monthly payment amount to fully amortize a $200,000.00 loan over a 30 year term at 5.75‰ interest."
The program must be object-oriented style
* No actions in the Java main ( ) method. This means the following:
* All actions, that is, logic to calculate, print, loop, and conditional statement must be coded in methods other that the Java main ( ) method.
* The Java main ( ) method is used as a driver that uses (calls) other methods of the class.
* No hard code values in methods other than the Java main ( ) methods.
* Instance variables declared at the class level must be declared private and should not be initalized at the class level.
* Code one to two actions per method. That is, create thin methods that consist of one or two actions.
|