Write an application named BankLoan that uses an abstract Loan class and HousingLoan and VechicleLoan to display differe

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Write an application named BankLoan that uses an abstract Loan class and HousingLoan and VechicleLoan to display differe

Post by answerhappygod »

Write an application named BankLoan that uses an abstract Loan
class and HousingLoan and VechicleLoan to display different types
of Loans and the interest per month. The Loan class contains a
string representing the type of Loan and a double that holds the
monthly interest. The Loan class constructor requires a String
argument indicating the type of loan, but the HousingLoan and
VechicleLoan class constructors require no arguments. The Loan
class contains a get method for each field and two abstract methods
named set cost() and displays (). The housing loan class set cost()
method sets the monthly interest to 8%, and the Vehicle class sets
the monthly interest to 12%. Write an application named
UseInsurance that prompts the user for the type of insurance to be
displayed, and then create the appropriate object
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply