Computer Science, asked by CARELESSGIRL, 1 year ago

What is multiple inheritance? What are its advantages and disadvantages?

Answers

Answered by EHSASS
5

        (¯´•._.• ʜᴇʀᴇ ɪs ʏᴏᴜʀ ᴀɴsᴡᴇʀ •._.•´¯)

“Multiple inheritance is the process where a subclass can be derived from more than one super-class. Its advantage is that a class can inherit the functionality of more than one base class, but its disadvantage is that it can lead to a lot of confusion when two base classes implement a method with the same name.”

Although computer science is an extremely broad field, we know that these top ten computer science interview questions will prepare you for what lies ahead. By brushing up on basic concepts and becoming familiar with the best sample answers

ᴇʜsᴀss ✿◕ ‿ ◕✿

Answered by harshdeep1273
3

Multiple inheritance is the condition where the number of bases classes exceeds one. Multiple inheritance always is at least two base classes in a class hierarchy.

Multiple inheritance infers one subclass and several base classes.

Multiple inheritance allows programmers to use more than one totally orthogonal base class in a hierarchy simultaneously.

Similar questions