CMIS 242 Project 1 Automobile class

$ 20

CMIS 242 Project 1 Automobile class

Design and implement an automobile class along with four subclasses using the following guidelines:
1. Create a class named Automobile and four subclasses. They can be any named anything you want that is considered an automobile. You can use brand names, car types, etc.
– Some examples: SUV, Electric, Mercedes, Convertible.
– Whatever you choose, all four subclasses should be somewhat related.
2. The Automobile class the following data fields:
– licensePlateNumber
– isStarted
– isForSale
3. The Automobile class also has methods for setting and getting the values of each of the fields.
4. The Automobile class also has a constructor that sets the isStarted and isForSale data fields to false.
5. The Automobile class also has methods for describing what the automobile looks like (e.g., color, shape, condition, etc.). This is again your choice.
6. Each of the four subclasses should also contain one additional data field and the appropriate get/set methods.
7. Finally, create a Java test class that simulates using your Automobile class and its subclasses. In your test class you should, at a minimum:
– construct at least one instance of each automobile
– start at least two of the instances
– put at least two of the instances up for sale (at least one of the not-started instances)
– print the description for each of the instances

Additionally, draw a UML class diagram of your classes using PowerPoint (PPT), Draw.io, or any other graphical editing tool.
Be sure your code compiles and runs as expected.

Submission Requirements
Your deliverables include five Java files, one Java test file, and your UML diagram(s). Submit each of these files to your LEO assignment area no later than the associated due date.

98 in stock

SKU: CMIS242PROJECT1 Category:

Description

CMIS 242 Project 1 Automobile class

Design and implement an automobile class along with four subclasses using the following guidelines:
1. Create a class named Automobile and four subclasses. They can be any named anything you want that is considered an automobile. You can use brand names, car types, etc.
– Some examples: SUV, Electric, Mercedes, Convertible.
– Whatever you choose, all four subclasses should be somewhat related.
2. The Automobile class the following data fields:
– licensePlateNumber
– isStarted
– isForSale
3. The Automobile class also has methods for setting and getting the values of each of the fields.
4. The Automobile class also has a constructor that sets the isStarted and isForSale data fields to false.
5. The Automobile class also has methods for describing what the automobile looks like (e.g., color, shape, condition, etc.). This is again your choice.
6. Each of the four subclasses should also contain one additional data field and the appropriate get/set methods.
7. Finally, create a Java test class that simulates using your Automobile class and its subclasses. In your test class you should, at a minimum:
– construct at least one instance of each automobile
– start at least two of the instances
– put at least two of the instances up for sale (at least one of the not-started instances)
– print the description for each of the instances

Additionally, draw a UML class diagram of your classes using PowerPoint (PPT), Draw.io, or any other graphical editing tool.
Be sure your code compiles and runs as expected.

Submission Requirements
Your deliverables include five Java files, one Java test file, and your UML diagram(s). Submit each of these files to your LEO assignment area no later than the associated due date.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.