Carclass in two new classes representing cars of your choice (if you're stumped, use
CrownVictoria). These new classes should:
super()(the parent constructor with the same signature) and then set the MPG for the specific car. The MPG need not be accurate.
toString()method (see below).
toString()method to every class. Each car's
toStringmethod should return a string containing the type of car, its mileage, and its fuel tank level.
mainmethod from PA10 to allow the creation of specific types of cars, add them to your fleet, drive them around, fill them up with gas, and print them out (causing their
toStringmethods to be invoked). Use helper methods if/when appropriate.
Submit as per the syllabus.