The Syntax and Terminologies
Learn how to use inheritance syntactically and the terminologies related to it.
We'll cover the following...
The terminologies
A new class is created based on an existing class in Inheritance, hence we use the terminology below for the new class and the existing class:
- SuperClass (Parent Class or Base Class): This class allows the re-use of its
non-private
members in another class. - SubClass (Child Class or