In class-based object modeling, what is multiple inheritance?
21 views
- A class having multiple methods
- A class deriving attributes and behaviors from more than one parent class (Correct Answer)
- A class without attributes
- A class used in database tables
Explanation
Multiple inheritance allows a class to inherit properties and behaviors from multiple parent classes, which can enhance code reuse but may also lead to complexity and ambiguity.