Which type of class inheritance allows a derived class to inherit attributes and methods from more than one base class? 

  • Single 
  • Multilevel 
  • Multiple 
  • Hierarchical
Multiple inheritance in C++ allows a derived class to inherit attributes and methods from more than one base class. This contrasts with single inheritance where a class can inherit only from one superclass. C++ supports multiple inheritance, unlike some other OO languages.
Add your answer
Loading...

Leave a comment

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