Inheritance (OOP)
← Back to Core OOP Concepts
Reuse through parent-child relationships using “is-a” semantics. A subclass inherits the properties and methods of a superclass, enabling code reuse and hierarchical type relationships.
Key Properties
Related
- Composition vs Inheritance (contrast)
- Liskov Substitution Principle (governs correct use)
- Polymorphism (enabled by inheritance)