Calculate the premium and multiply the value of the object

Assignment Help JAVA Programming
Reference no: EM131299782

Assignment

It is a common knowledge that most households, for protection against their major perils, take out insurance on their property, automobiles, travel, and so on. Insurance premiums are often paid on a monthly basis. In this assignment, you will build an interactive Java application that will help an insurance agent generate a quote for a household. Assume that the household wants to purchase property insurance, automobile insurance, and travel insurance. The Java application must generate a quote when the agent runs the application.
The application must contain four (4) Java classes that are stated and shown in the diagram below.

Insurance Agent App Diagram

The InsuranceAgent App class is an abstract class. The PropertyInsurance, AutomobileInsurance, and TravelInsurance classes inherit from the InsuranceAgentApp abstract class.

The specifications of each class are described below. The column on the left shows the class members and the column on the right provides a description of the class members. The 'S' designates a static member; the 'C' designates a constructor; and the 'A' designates an abstract member. The data types of each class member are shown on the left column.

Section 1: Java Program File

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 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 abstract InsuranceAgentApp class).

Reference no: EM131299782

Questions Cloud

What do you think is the main point of this video clip : Go to one of the Web sites that contain video clips (such as www.youtube.com) and view some video clips about estate planning. You can use search phrases such as "tips on estate planning." Select one video clip on this topic that you would recomme..
Discuss the trends revealed in each ratio : Report each ratio value as well as the numerator and denominator of each of the 4 ratios for the past 3 years (12 ratios in total). Discuss the trends revealed in each ratio.
University campus with one main campus : Answer the following questions if you were creating a network infrastructure for: 1. A university campus with one main campus 2. A large metropolitan area network 3. A corporate campus with multiple sites across the globe
What is your view on estate planning : Read one practical article about how psychology affects estate planning decisions. You can easily retrieve possible articles by doing an online search using the terms "psychology" and "estate planning." Summarize the main points of the article.
Calculate the premium and multiply the value of the object : 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.
How much are dave’s cash flows reduced over the coming year : Assuming that Dave's marginal tax bracket is 25%, by how much should his federal taxes decline this year if he contributes $7,000 to his retirement account?
Frame definition file : Find a Web site that uses frames and view the source code that underlies the site to see the frame definition file. Include a link, screenshot and the code in your submission.
Does managements assessment of the financial condition : Does management's assessment of the financial condition agree with your assessment from the Financial Statements Paper Part I? Explain your response. Support your answer using trend analysis, vertical analysis, or ratio analysis.
How many dollar worth in 5 years time : A five year discount factor is $0.801. If interest rate is 10%.- How many dollar is the $0.801 worth in 5 years time if invested at 10%?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Creates a coin table with coin names and values

Write a Java program that creates a Coin table with coin names and values; inserts  coin types penny, nickel, dime, quarter, half dollar, and dollar; and prints out the sum of the coin values. Use CREATE TABLE, INSERT, and SELECT SUM SQL commands.

  A complete java program called stringreverse

Create, using NetBeans, a complete Java program called StringReverse that prompts the user at the command line for one 3-character string, then prompts the user for another 3-character string, prints out the two input strings with a space between the..

  Implement your pseudocode into actual working java code

Write a pseudocode for method and Implement your pseudocode into actual working java code.

  The api for this class ispublic void poweronnbsp sets the

the api for this class ispublic void poweronnbsp sets the machine ready to serve the selected ice creampublic void

  Your task is to design and implement a sorting

your task is to design and implement a sorting algorithmalgorithm that can sort nonnegative integers that fall within

  Develop a similar class hierarchy for animals

Java programmers can use class hierarchies for the purposes of inheritance. Develop a similar class hierarchy for Animals

  Opening the file shows the output below

If the program runs successfully, the only message your program prints on screen is "Output file has been created: Unicode.dat' but opening the file shows the output below.

  Write and run a java program

Write and run a Java program which allows the user to input two doubles and outputs the greater of the two?

  Project about the time-series data trend prediction

The coding part of the project and concerns with the implementation of a time-series prediction method that you either take from the literature or you have developed by yourself

  Discuss the types of java exceptions

Discussion Question: Discuss the types of Java exceptions that can be thrown and the best ways to handle them

  A listener for the click events of a button

What happens if you fail to register an object as a listener for the click events of a button?

  Calculates the total annual compensation of a salesperson

Write a Java application using an Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd