...
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 113
Which of the following most accurately describes “multiple inheritance”?
A
When a child class has both an “is a” and “has a” relationship with its parent class
B
When two classes inherit from each other
C
When a base class has two or more derived classes
D
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.
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.

Leave a Reply

Your email address will not be published. Required fields are marked *