What is a superclass?

A superclass or base class is a class that acts as a parent to some other class or classes. For example, the Vehicle class is a superclass of class Car.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *