Create an interactive Java application for the insurance agent in order to generate a quote for a
household. According to your design, the program must:
Implement all the four (4) Java classes described with the correct inheritance of abstract
classes.
Calculate the premium and multiply the value of the object being insured by the corresponding
RATE. Note: See the RATE tables above.
Get a quote and add all the premiums for all the objects being insured.
Include a driver problem to test the implementation in which it:
Uses the System.out.* and System.in.* methods for all the input / output.
Includes an object of each insurance type. Prompts the user to enter the type and riskAmount
(or value of the object being insured).
Displays the values in each of the objects created using the display() method.
Displays the quote (totalPremium in the abstractInsuranceAgentApp class).
Section 2: Screenshot of the Driver Testing and Source Code of the Implementation
Create a screenshot of the driver testing and include a copy of source code of the
implementation.
Submit a screenshot of the driver testing of the implementation of your Java program. Note: Go
tohttp://www.take-a-screenshot.org/ if you need a tutorial on taking a screenshot.
Submit a copy of the source code of the implementation.
Section 1 and Section 2 will be graded based on the following:
The program must compile, execute, produce correct results, and meet all of the specifications
stated in Section 1.
Additionally you must:
Organize the code for user readability.
Organize the code for reusability.