Question 5.2: Consider the following objects and their properties:
Car: fuel capacity, serial number, passenger capacity, net weight, license plate Boat: fuel capacity, serial number, passenger capacity, net weight, draft
We want to use inheritance to implement the above given objects. Define a third class which can be the superclass. Provide a list of fields that will be included in each of the classes.