- Increases the time and effort required to execute a program as it requires jumping back and forth between different classes
- The parent class and the child class get tightly coupled
- Any modifications to the program would require changes both in the parent as well as the child class
- Needs careful implementation else would lead to incorrect results
To know more about inheritance in Java and Python, read the below articles:
- Inheritance in Java
- Inheritance in Python
Leave a Reply