Create a CarLoan Class that encapsulates the following elements of a car loan: Sales price of the car Down Payment or trade-in allowance number of months for the loan (term) APR Car loan payment Total Interest paid on loan Your class must have both a default and overloaded constructor (the overloaded constructor should have the appropriate parameters, given that some data elements should be read-only. Create a MainClass that declares and instantiates a CarLoan object. Use the following data values for the CarLoan: Sales price of the car : $40,000 Down Payment or trade-in allowance: $15,000 number of months for the loan (term): 48 APR: 6%

 

 

 

    • 11 years ago
    Java
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      java1.zip