Homework.name Content
Using NetBeans, create a Java project with the classes shown on the UML diagram shown below.
An insurance policy is a financial instrument that pays an amount of money, known as the death benefit, to a named beneficiary, upon the insured’s death. The project aims to track the insurance policy and insured data. The test class should create an object of each of the LastNameLifeInsurancePolicy and the LastNameInsuredPerson classes.
The user will be prompted to enter each data value to create the two objects. For example:
Type in the policy number and press enter:
The program will output the object’s data using the toString() methods of each class using this order:
Policy Number: xxxxxxxxxx
Issuance Date: xx/xx/xxxx
Expiration Date: xx/xx/xxxx
Death Benefit: $xxxxxx.00
Beneficiary: xxxxxx xxxxxx
Insured ID: xxxxxx
Insured Name: xxxxxx xxxxxx
Insured DOB: xx/xx/xxxx
Insured Address: xxxxxx xxxxxx xxxxxx xxxxxx
Insured email: email@email.email
The output must be displayed using the toString methods of both classes.
UML Diagram
The code must be fully documented with comments. Every variable and method must have detailed comments explaining how the variable or method is used. In addition, at the beginning of each class, you must add as comments a descriiption of the class, the name of the programmer, and the date when the code was written.
To submit the project, you must zip the NetBeans project folder and submit the zipped file. All NetBeans project files must be submitted. Submit only Java files. PDF, MS Word, text, or any other type of file that does not have a NetBeans project will result in a grade of zero. Follow the instructions shown in the video posted in the video lectures folder, and do not wait until the last hour to submit. You must allow time to address potential technical, personal, family, or job-related difficulties.
All class and variable names must include your last name, as shown on the UML diagram. Replace LastName or lastName with your last name. For example, if your last name is Smith, your test class must be named SmithTest. Make sure all classes, variables, and methods are named with the same capitalization shown in the UML diagram above. When you are assigned to create Java classes, you must follow the specification exactly as given. Failure to do so will result in the class being incompatible with other classes you were not assigned to build.
Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount