Problem Statement
What is single inheritance in object-oriented programming?
Explanation
Single inheritance is when a class (often called the child or subclass) inherits attributes and methods from exactly one parent (base or superclass). It allows the subclass to reuse and extend functionality in a straightforward “is-a” relationship without the complexity of multiple base classes.