Learn Before
Concept

Class Inheritance

•Class inheritance is the process by which a derived class is written based on a base class. Derived classes have the same functionality as the base class, unless otherwise changed. In the example below, Class B would inherit Class A’s methods and properties and a programmer can specify additional characteristics of the derived class.

Image 0

0

3

Updated 2021-02-23

Tags

Data Science