Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write code in java matching assignment description: Mortgage.java class IO.java class Assignment Description: This project is similar to Project 5 except you will develop an
Write code in java matching assignment description:
Mortgage.java class
IO.java class
Assignment Description: This project is similar to Project 5 except you will develop an Object Oriented/ Model-View-Controller solution to the previously assigned program. Before beginning, download the Proj7 StarterFiles.zip file, available through Canvas by clicking on the Project 7 assignment. The file contains two starter files used to help complete this project. Implementation Requirements: Your project will contain three classes: Mortgage (Model), IO (View) and MortgageApp (Controller) The Mortgage class has been started for you. You may add to or modify as you wish. This class is just holding and manipulating the data for our application. There is to be no I/O (println or nextLine) in this class. It contains private instance variables for the three values needed to calculate a mortgage, another to hold the monthly payment, and another to hold the total amount paid on the loan. Customer number has been omitted and is not used for this project. The class contains two constructors - a no argument used to initialize the values for a promotional loan and a 3-argument to instantiate a unique loan. It also defines a get/set method for the Monthly and Total Payment:s (For this project, a Promo Loan is a $100,000 loan at 5.5% for 15 years.) The IO class has also been started for you. You may add to or modify as you wish. It will contain only the data validation and Input-Output portion of the program. Although validating data is usually done through the model and controller class, for simplification, this class will include all input data validation using the criteria listed below. In addition, your program must also handle a character being entered for ALL numeric input or a double being entered for any int input using Exception Handling 1) Valid menu choices are 1-3 2) Valid interest rates are between 3%-7%) (inclusive) 3) Valid terms are 10-40 years (inclusive) 4) Valid amounts are $75,000 to 1 million (inclusive)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started