principle of inheritance
Answers
Answered by
0
Benefits of inheritance.
Explanation:
- Inheritance is from the object-oriented program.
- It explains class by maintaining its own class with some rules and principles.
- We use inheritance to make the application of the class.
- There are three main pillars of object-oriented programming and these are.
- Encapsulation.
- Inheritance.
- Polymorphism.
- Inheritance helps us to create similar objects without duplicating the code of it.
- These objects are sort according to the class hierarchy.
Learn more about principles and benefits of inheritance.
Principles of inheritance
https://brainly.in/question/11307766
Similar questions