Calculate the premium and multiply the value of the object

Assignment Help JAVA Programming
Reference no: EM13762830

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

Reference no: EM13762830

Questions Cloud

Assume that the yield to maturity remains constant : A bond has a $1,000 par value, 10 years to maturity, and a 8% annual coupon and sells for $980. Yield to Maturity is 8.30213. Assume that the yield to maturity remains constant for the next 4 years. What will the price be 4 years from today?
Several programs believed to reach the target population : A pharmaceutical company develops a media campaign targeting aging women at risk for osteoporosis. The ad is scheduled to run a total of 21 times and will air on several programs believed to reach the target population.
Total cost is used to determine the price : Sosa Company has $39 per unit variable costs and $1,900,000 per year fixed costs. Demand is estimated to be 138,000 units annually. What is the price if markup of 35% on total cost is used to determine the price?
Value bond-effective annual interest rate : You are considering a 20-year, $1,000 par value bond. Its coupon rate is 11%, and interest is paid semiannually. If you require an "effective" annual interest rate (not a nominal rate) of 8.84%, how much should you be willing to pay for the bond?
Calculate the premium and multiply the value of the object : 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. See the RATE tables above.
Who was george sand and what was she considered important : Who was George Sand? What was she considered important and who was she often associated with?
Show relevant data and present the concepts : Cultural and political characteristics and condition of your selected country: Assess the perceived risks to doing business associated with these issues. Develop tables to show relevant data and present the concepts.
Accounts receivable changes with bad debts : A firm is evaluating an accounts receivable change that would increase bad debts from 2% to 4% of sales. Sales are currently 50,000 units, the selling price is $20 per unit, and the variable cost per unit is $15. As a result of the proposed change,..
Issues on research methodology : Most physicians don't do research and medical school provides little training in research methodology.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Project is for designing and developing a college

project is for designing and developing a college registration program. write a java program to register students for a

  Development of a graphical user interface

To understand actual communication with an SMTP server can be achieved using TCP Sockets and understand the development of a graphical user interface (GUI) and use of event handling.

  Important java interfaces and state their objectives

Can you list down some important Java Interfaces and state their objectives?

  Write a program displaying a text file that is in a text are

Write a program displaying a text file that is in a text area. The user enteres a file name in a text field and clicks the view button; the file is then displayed in the text area. Do not use BufferedInputStream.

  Product maintenance with a database

Use a class named ProductDB that's in the music.data package to add, update, and delete the products in the Product Maintenance application.

  Using a linked implementation of graph write a method

Write a method that takes two nodes as input and returns true if joining an edge between these two nodes, forms a duplicate path to one of the input nodes within the graph.

  Java application that asks a user to enter two integers

Write a Java application that asks a user to enter two integers (A and B) and then display the results of A/B. Catch any division by zero errors and prompt the user to reenter the value of B. Be sure your code compiles and runs as expected. Name your..

  Describe a multidimensional array

Describe a multidimensional array for a summer camp, the first array would be the number of kids say 30, then it would break them up by ages 6-9 (4 different groups) and lastly by sex m or f.

  Write a method, insertat that takes four parameters

Write a method, insertAt that takes four parameters

  Album name instance variable

Design a CD class where a CD object represents a single music CD. What kinds of information (artist, genre, total playing time, etc.) do you want to know about a CD?StateAlbum Name instance variable

  Prepare an app that calculates the product of a series

Prepare an app that calculates the product of a series of integers that are passed to method   product using a variable-length argument list.

  1 write an application class that contains several

1 write an application class that contains several methods.nbspthe first method should be named greeting and should

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