Features of OOP
17 February 2025

Features of OOP
- Inheritance: Single, Multiple, Multilevel, Hierarchical, Hybrid
**Features of Object-Oriented Programming(OOP)
OOP is programming paradigm based on the concept of objects, Which encapsulate data and behavior. The key features of OOP include:
1.Inheritance
Inheritance allows a class(child)to acquire properties and behaviours from another class(parent), promoting code reusability and heirarchical relationships. Types of inheritance include:
•Single Inheritance: A child class inherits from a single parent class.
•Multiple Inheritance: A child class inherits from more than one parent class.
•Multilevel Inhetitance: A child class inherits from another child class, forming a chain.
•Hieratchical Inheritance: Multiple child classes inherit from a single parent class.
•Hybrid Inheritance: A combination of two or more types of inheritance, often implemented using interfaces or mixins to avoid complexity.