Inheritance
This lesson introduces the concept of Inheritance focusing on base and derived classes.
We'll cover the following...
What is Inheritance
Inheritance is a very useful and popular concept that enhances the object-oriented programming experience. It allows a programmer to create and define classes that can inherit and build upon functionalities already present in existing classes without having to duplicate a lot of the code.
-
Provides a way to create a new class from an existing class.
-
The new class is a specialized version of the existing class.
-
Allows the new class to override or redefine inherited methods from the existing class to perform ...