The Syntax and Terminologies
Learn how to use inheritance syntactically and the terminologies related to it.
We'll cover the following...
We'll cover the following...
The terminologies
In inheritance, in order to create a new class based on an existing class, we use the following terminology:
- Parent Class (Super Class or Base Class): This class allows the reuse of its public properties in another class.
- Child Class (Sub Class or Derived Class): This class