Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Could you please Help me with this. COP 4814 Lab 7 (20 Points in total) Automobile Packages (Factory pattern) (15 Points) You are being asked

Could you please Help me with this.

image text in transcribed

COP 4814 Lab 7 (20 Points in total) Automobile Packages (Factory pattern) (15 Points) You are being asked to write Java code for this lab. When you buy a car, dealers offer add-on packages with features such as upgraded radios, aluminum wheels, and sunroofs. The composition of these packages may be somewhat of a mystery to buyers, and the composition may vary in different geographic regions. For example, in Europe, stricter emission standards product availability, and local laws might be factors. At the same time, a car manufacturer wants to standardize the names and general content of packages to protect their brand. Assume you are asked to design a software component that assembles the content of two auto packages ("Luxury Bundle" and "Performance Bundle") for three geographic regions (Europe, Asia, North America), relating to two models of cars sold by a single manufacturer. As you might guess, the Factory Method pattern can be applied to this problem. Your task is to design AND CODE the interfaces, abstract classes, and essential concrete classes for this application. Be sure to create a test class to exhaustively test all possibilities UML Diagram (3 Points) Use a UML diagram to show the class relationships. When you upload it, either scan or photograph your UML diagram Submission (2 Points) Submit a zip file called FirstnameLastnamelab7.zip containing your UML diagram images and your Java source code. Do not use the package statement in any of your files. Each class should be in a separate file. I will compile and run from the command line A Java submission must compile and run from the command line or it will earn a 0 and will not be graded further. Do not include package statements or this will happen COP 4814 Lab 7 (20 Points in total) Automobile Packages (Factory pattern) (15 Points) You are being asked to write Java code for this lab. When you buy a car, dealers offer add-on packages with features such as upgraded radios, aluminum wheels, and sunroofs. The composition of these packages may be somewhat of a mystery to buyers, and the composition may vary in different geographic regions. For example, in Europe, stricter emission standards product availability, and local laws might be factors. At the same time, a car manufacturer wants to standardize the names and general content of packages to protect their brand. Assume you are asked to design a software component that assembles the content of two auto packages ("Luxury Bundle" and "Performance Bundle") for three geographic regions (Europe, Asia, North America), relating to two models of cars sold by a single manufacturer. As you might guess, the Factory Method pattern can be applied to this problem. Your task is to design AND CODE the interfaces, abstract classes, and essential concrete classes for this application. Be sure to create a test class to exhaustively test all possibilities UML Diagram (3 Points) Use a UML diagram to show the class relationships. When you upload it, either scan or photograph your UML diagram Submission (2 Points) Submit a zip file called FirstnameLastnamelab7.zip containing your UML diagram images and your Java source code. Do not use the package statement in any of your files. Each class should be in a separate file. I will compile and run from the command line A Java submission must compile and run from the command line or it will earn a 0 and will not be graded further. Do not include package statements or this will happen

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

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

=+ Of the HR issues mentioned in the case,

Answered: 1 week ago

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago