What is inheritance? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is inheritance?

27th Dec 2018, 1:55 PM
Puneet Bhardwaj
Puneet Bhardwaj - avatar
1 Answer
+ 1
Inheritance is the process of creating new classes, called derived classes, from. existing classes or base classes. The derived class inherits all the capabilities of the. base class, but can add embellishments and refinements of its own.
27th Dec 2018, 2:17 PM
Mohammed Talha