Question: https://gyazo.com/bc2d66beb31ca33ddca369e405363233 Kequired Components: A Java class with a main method. A second Java class that represents a Loan. Use the Eclipse IDE Scenario/Information: For most
https://gyazo.com/bc2d66beb31ca33ddca369e405363233
Kequired Components: A Java class with a main method. A second Java class that represents a Loan. Use the Eclipse IDE Scenario/Information: For most home loans, there are three main values that represent the state of the: the principal (total amount loaned), interest rate (usually stored as annual rate), and total term (in years) that the homeowner has until the loan should be fully repaid. If these three values are known, then other characteristics about the loan can be calculated. For example Monthly Rate - Annual Rate/12 Total Months Total Term 12 Monthly Payment Principal Monthly Rate / (1Monthly Rate) Total Months) What to do: Write a new simple Java program with Eclipse using a main method. The main method should simply declare a loan object and pass the loan object initial values for the principal, rate (APR) and term (years) It should also call a method of the Loan class to get and print the monthly payment to the console The Loan class should include field variables for each of the basic loan values (principal, rate - APR, and term in years), two constructors (a default no-parameter constructor and a second constructor which allows all three values to be passed in to the object), getters and setters for each field variable, and a method that calculates and returns the monthly payment. Also include methods that will return the total months and monthly rate https://gyazo.com/6ce9a5ed5ac46f2aa6ca3a0a6b8662c6 A Java class with a main method. A second Java class that represents a Loan. Please help. These requirements confuse me
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
