subject

The Java Programmers Loan (JPL) Company makes loans of up to $50,000 for software development projects. There are two categories of Loans â those to businesses and those to individual applicants. Write an application that tracks all new loans. The application also must calculate the total amount owed at the due date (original loan amount + loan fee) as well as the total amount that JPL has loaned out in each category and in total. The application should contain the following classes: Loan â a public abstract class that implements the LoanConstants interface. A Loan includes a loan number, customer last name, amount of loan, interest rate, and term. The constructor requires data for each of the fields except interest rate. Do not allow loan amounts greater than $50,000. Force any loan term that is not one of the three defined in the LoanConstants interface to a short-term (1 year) loan. Create a toString() method that displays all the loan data. Create an equals() method that determines whether two compared loans are equivalent.

LoanConstants â a public interface. LoanConstants includes constant values for short-term (1 year), medium-term (3 years), and long-term (5 years) loans. It also contains constants for the company name and the maximum loan amount.

BusinessLoan â a public class that extends Loan. The BusinessLoan constructor sets the interest rate to 1% more than the current prime interest rate.
PersonalLoan â a public class that extends Loan. The PersonalLoan constructor sets the interest rate to 2% more than the current prime interest rate.
CreateLoans â an application that creates an array of five Loans. Prompt the user for the current prime interest rate. Then, in a loop, prompt the user for the loan type and all relevant information for that loan. Store the created Loan objects in the array. When data entry is complete, display all the loans.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
What is a society that has moved to the internet rather than relying on physical media called
Answers: 2
question
Computers and Technology, 22.06.2019 15:00
Which of the following has not been attributed at least in part to social media a. drug addiction b. depression c. kidnapping d. murder
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Write a method named addall that could be placed inside the hashintset class. this method accepts another hashintset as a parameter and adds all elements from that set into the current set, if they are not already present. for example, if a set s1 contains [1, 2, 3] and another set s2 contains [1, 7, 3, 9], the call of s1.addall(s2); would change s1 to store [1, 2, 3, 7, 9] in some order. you are allowed to call methods on your set and/or the other set. do not modify the set passed in. this method should run in o(n) time where n is the number of elements in the parameter set passed in.
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
This graph compares the total cost of attending educational institutions in texas. the graph demonstrates that the cost at private and public technical schools greatly varies.
Answers: 2
You know the right answer?
The Java Programmers Loan (JPL) Company makes loans of up to $50,000 for software development projec...
Questions
question
Mathematics, 19.05.2020 16:17
question
Mathematics, 19.05.2020 16:17
question
Mathematics, 19.05.2020 16:17
Questions on the website: 13722367