Tuesday, December 20, 2016

what do you understand by multiple inheritance ? (C++)

Multiple inheritance permit a class to have more than one super-class and to inherit features from all parents. This permit mixing of information from two or more sources. This is a more complicated form form of generalization than single inheritance, which restrict the class hierarchy to a tree. The advantage of multiple inheritance is great power in specifying classes and an increased opportunity for reuse.

No comments:

Post a Comment