What is inheritance…
 
Notifications
Clear all

What is inheritance in programming?

1 Posts
2 Users
0 Likes
148 Views
0
Topic starter

Explain Briefly.

1 Answer
0

Inheritance is the procedure in which one class inherits the attributes and methods of another class. The class whose properties and methods are inherited is known as the parent class or superclass. And the class that inherits the properties from the parent class is the child class or derived class.

Share: