explain multiple inheritance. Discuss its limitations and merits in practice.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter3: Data Representation
Section: Chapter Questions
Problem 3RP
icon
Related questions
Question

explain multiple inheritance. Discuss its limitations and merits in practice.

Expert Solution
Step 1

Multiple inheritance a feature of some object-oriented programming languages in which a class or an object inherits characteristics and properties from more than one parent class or object.

for example suppose  we have CLASS A and CLASS B having some different features . now we are creating new class that inherits some of class A and some features of class B then this process is called multiple inheritance.

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer