MCQs
Multiple inheritance enables a derived class to inherit members from more than one parent.
These things can provide necessary information for the base class to make a logical decision.
For using multiple inheritance, simply specify each base class (just like in single inheritance), separated by a comma.
The benefit of dynamic binding and polymorphism is that they help making the code easier to extend but by multiple inheritance it makes harder to track.
class name : access specifer class name
There are five types of inheritance in c++. They are single, Multiple, Hierarchical, Multilevel, Hybrid.
create a hierarchy of classes
There are three types of constructor in C++. They are Default constructor, Parameterized constructor, Copy constructor.
class contains objects of other class types as its members
There can be multiple constructors of the same class, provided they have different signatures.