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

  Allow the user to display a work history report

The 'report screen' shall:Allow the user to display a work history report for an individual or for all employees for the two weeks prior to the report request.

  Write a code fragment that would printout the multiplication

Write a code fragment that would printout the multiplication table for the number 3 multiplied by (1-10) .

  Minimal spanning tree decreasing edge dismissal

Minimal Spanning Tree Decreasing Edge Dismissal, Reverse-delete algorithm. Develop an implementation that computes the MST

  Draw a picture with an appearance

You must use the given Rectangle and Oval classes to draw a picture with an appearance as close as possible.

  How to write and incorporate string

How to write and incorporate string - custom function

  Evaluate an infix expression entered by the user

Spaces between tokens are allowed but not required. The program will repeatedly prompt the user for the value of x, displaying the value of the expression each time. When the user enters the letter q instead of a number, the program terminates.

  Write a program that allows a user to enter a line of text

Write a program that allows a user to enter a line of text, counts number of words and number of vowels in the sentence, and gives the average number of vowels per word in the message

  Write a java program to practice the use of java file i/o.

Write a Java program to practice the use of Java file I/O. Class methods are needed to break up solution in smaller parts.Program will read several series of heart rates from a file, compute min, max, & fitness quotient for each series, and output ..

  Embarking on a graduate program

Identify the key risks (both positive and negative) associated with embarking on a graduate program. Describe the likelihood and the potential impact of such risks

  Your task for this project is to design a program to help a

your task for this project is to design a program to help a videorental store operatorrecord clients transactions. the

  Write a void function this passed three integers

1. Write a void function this passed three integers by reference. The function should rearrange the parameter values so that the first parameter will get the smallest value; the second parameter the middle value; and the third parameter the largest v..

  T an array using insertion sort and track the number of swap

How to sort an array using insertion sort and track teh number of swaps during the sorting

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