Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment is to achieve CO: C01Understand and design the fundamental concepts of object oriented approach using UML and java. (C2,PLO1) CO2construct a Java program

This assignment is to achieve CO:

C01Understand and design the fundamental concepts of object oriented approach using UML and java. (C2,PLO1)

CO2construct a Java program that requires the use of arrays to hold primitive data types and objects.(C6,PLO2)

CO3produce a GUI or applet using the GUI components that incorporates event handlings(C3,PLO3)

CO4 Producea Java application using the GUI components. (C4,PLO3)

CO5Develop a complete GUI based Java application or applet that incorporates event- handlings.(C4,PLO3)

Question 2

Please develop a complete java program following the figure 1 below.

Question 3

Write a java program named MyLoan that uses an abstract class named FamilyInsurance and subclasses which can display two differenttypes of loans, Car and Health. And the cost per month for each loan.

Each of the subclasses contains constructor which will sets the cost per month based on the type of loan, and prompt the user any appropriate data entry for the loan calculation. For example, Car loan, you might ask the user the age of the car or want to protect windscreen or not, flood and etc. Same goes to Health insurance. Please find the correct data for your program.

Include and abstract toData() method in the FamilyInsurance class that constructs a String containing all the required data. Ask the user for the type of insurance and then display the appropriate Object. Save your files as FamilyInsurance.java, Car.java, Health.java and MyLoan.java.

Find at least 5 relevant elements for each of insurance.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Design Operation And Evaluation Of Mobile Communications

Authors: Gavriel Salvendy ,June Wei

1st Edition

3030770249, 978-3030770242

More Books

Students also viewed these Programming questions

Question

What is a no-load or low-load life insurance policy? Explain.

Answered: 1 week ago