OOPS
August 29, 2024OOPS
August 29, 2024OOPS
Question 113 |
Which of the following most accurately describes “multiple inheritance”?
When a child class has both an “is a” and “has a” relationship with its parent class | |
When two classes inherit from each other | |
When a base class has two or more derived classes | |
When a child class has two or more parent class |
Question 113 Explanation:
→ Multiple inheritance is a feature of some object-oriented computer programming languages in which an object or class can inherit characteristics and features from more than one parent
object or parent class. It is distinct from single inheritance, where an object or class may only inherit from one particular object or class.

object or parent class. It is distinct from single inheritance, where an object or class may only inherit from one particular object or class.
Correct Answer: D
Question 113 Explanation:
→ Multiple inheritance is a feature of some object-oriented computer programming languages in which an object or class can inherit characteristics and features from more than one parent
object or parent class. It is distinct from single inheritance, where an object or class may only inherit from one particular object or class.

object or parent class. It is distinct from single inheritance, where an object or class may only inherit from one particular object or class.