Your Perfect Assignment is Just a Click Away

Starting at $8.00 per Page

100% Original, Plagiarism Free, Customized to Your instructions!

glass
pen
clip
papers
heaphones

The Alset Corporation wants to begin marketing electric vehicles (EVs) to customers in the nation of Climatonia. Because the company is brand new, models and options are very limited.

The Alset Corporation wants to begin marketing electric vehicles (EVs) to customers in the nation of Climatonia. Because the company is brand new, models and options are very limited.

Assignment Details

The Alset Corporation wants to begin marketing electric vehicles (EVs) to customers in the nation of Climatonia. Because the company is brand new, models and options are very limited. The user can only select from one of three types of models, and the only available option is an extra charging cable. Your job is to write a program in Java that will allow employees to see the configurations that are currently available for purchase.

Alset EVs come in three types:
Type 1: Rear wheel drive, small battery pack (short range)
Type 2: Rear wheel drive, medium battery pack (medium range)
Type 3: All wheel drive, large battery pack (long range)

All cars feature four doors and come with a charging cable. Type 1 vehicles are painted green and have no other options. Type 2 vehicles are painted blue and have GPS navigation. Type 3 vehicles are painted red, have GPS navigation, and also have a sunroof.

After meeting with the client, the design team determined the following custom class requirements for this program:

A class called Alset with the following:

  • A property called numDoors (integer) with a value of 4
  • A property called chargeCable (integer) with a value of 1
  • A property called paintColor (String) with a value of Green
  • A property called freeCharge (String) with a value of No
  • A method called displayInfo() that prints each of these properties on screen like this example: “Number of doors: 4”

A class called Type1 with the following:

  • Inherits from Alset class
  • This model does not have any additional features

A class called Type2 with the following:

  • Inherits from Alset class
  • A String property called gpsNav with a value of Yes
  • A method that overrides displayInfo(), adding a line to report the gpsNav property

A class called Type3 with the following:

  • Inherits from Alset class
  • A String property called gpsNav with a value of Yes
  • A String property called sunroof with a value of Yes
  • A method that overrides displayInfo(), adding lines to report the gpsNav and sunroof properties

When the program runs, present the user with a simple explanation of the program (one sentence), followed by a menu that asks them to enter 1 for Type 1, 2 for Type 2, or 3 for Type 3. Use the Scanner class to process input and use IF/ELSE statements to handle their choice. Once the choice has been made, instantiate a member of the appropriate class, set the correct paint color (if type 2 or 3), then execute the displayInfo() method to display the properties of the vehicle on screen. Once the information has been displayed, the program should end.

Write code comments in both the project class and each of the custom classes to document your program. In your custom classes, use JavaDoc comments to document the features of the class.

NOTE: The paint color may not be set within the Type2 or Type3 classes.

NOTE: This program must be submitted as a NetBeans project in a ZIP. Separate files or code are not acceptable.


"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Ace Tutors only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Ace Tutors are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Ace Tutors is known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Ace Tutors, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.