Sticking to the base type

We’ll create a base class and a derived class and learn ways to manage the types of instances the base methods create.

Example

Let’s start with a class named Names and a derived SpecializedNames class.

Get hands-on with 1200+ tech skills courses.