You are creating a class inheritance hierarchy about motor vehicles that will contain classes named Vehicle, Auto, and Motorcycle. Which of the following statements is correct?a. Vehicle should be the default class, while Auto, and Motorcycle should be the subclasses
b. Vehicle should be the superclass, while Auto, and Motorcycle should be the subclasses
c. Vehicle should be the subclass, while Auto, and Motorcycle should be the default classes
d. Vehicle should be the subclass, while Auto, and Motorcycle should be the superclasses

Solved
Show answers

Ask an AI advisor a question