Write java code showing associations among class structure


Assignment

Purpose:

The aim of this assignment is to provide students knowledge to understand and apply the object oriented concepts using Java programming language.

The assignment also aims at applying exception handling routines in Java programming language to handle unexpected errors.

Outcomes:

1. Demonstrate Design and develop Java applications using object oriented concepts
2. To gain in-depth knowledge of exception handling in object oriented environment.

Consider the following Scenario the Modeling of which you have completed in Assignment1:

Muscat Autos (MA) is a well-known auto care company in the Sultanate.MA is having more than a hundred employees.MA provides one-stop auto care services like scheduled monthly, quarterly and yearly maintenance, service, and repairs.

MA has two types of customers individual and corporate.MA registers the customers and keeps their profile along with maintenance, repair and service history of the vehicles.

Customers can book an appointment via the website or by calling the customer care. At the time of appointment, the inspection manager inspects the vehicles and prepares an observation report after carrying out different tests on the vehicle. The observation report includes the list of tasks that are strongly recommended, recommended, and optional.

The observation report is sent to the Branch manager who takes the approval from the owner of the vehicle either individual or corporate representative. After taking the necessary approvals from the customers the report including the approved tasks is sent to the auto engineer.

The Auto engineer sends a request of spare parts to the warehouse and starts working on the job after receiving all the required items. When the job is completed the accounts department prepares bills based on the details sent by the auto engineer handling the job.

The customers are given a gate pass after payment of all the dues which can be used to drive the vehicle out of MA. The vehicle history is updated by the branch manager.

Tasks:

Task 1: Create a work proposal for the assignment and submit. The work proposal submitted must include:

• The initial class structure in Java
• The identified associations among classes (initial).
• The initial functional methods of the classes
• The Initial understanding of each task of the assignment.
• The resources used in the assignment.
• Prepare a timeline for the completion of tasks.

Task 2: The Class Structure.

Task 2 A: Write coding of the class Structure in Java for the scenario above. The classes can /must match your design created in assignment 1. Additional classes and functionality can also be included in the coding of the model.

Task 2 B: Write Java code showing associations among the class structure created. Include generalization, composition and aggregation among classes.

Task 2 C: Write Java code showing one single main method. Create objects of all classes created and call all function method to check the functionality of the application.

Task 3: The functionality of classes.

Task 3 A: Identify behavior of the classes by adding different functional methods in each of the class. Every class must have at least two functional methods in addition to the constructors.

Task 3 B: Add Constructors and display methods in each class.

Task 4: The Custom Exception handling

Task 4 A: Create at least two classes for custom exception handling. Choose situations of your own.

Task 4 B: Implement custom exceptions handling in the solution created for different situations.

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also include a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also Include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Attachment:- Use-Case-Specifications.rar

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Write java code showing associations among class structure
Reference No:- TGS02958863

Now Priced at $40 (50% Discount)

Recommended (91%)

Rated (4.3/5)