6. 1
2
3
4
5
6
7
8
9
10
11
12
13
14
02 {
[MULTIPLE INHERITANCE]
< If a derived class shares multiple
Parent classes and inherit its features
from multiple parent classes then such
kind of inheritance is called Multiple
Inheritance. >
}
Object Oriented Programming MULTIPLE
9. 1
2
3
4
5
6
7
8
9
10
11
12
13
14
03 {
[MULTILEVEL INHERITANCE]
< A derived class will be inheriting a base class
and as well as the derived class also act as the
base class to other class, then such kind of
inheritance is called Multilevel Inheritance. >
}
Object Oriented Programming MULTILEVEL
12. 1
2
3
4
5
6
7
8
9
10
11
12
13
14
04 {
[HIERARCHIAL INHERITANCE]
< If there exists multiple derived classes
from a single base class, such type of
inheritance is called Hierarchical
Inheritance. These derived classes share
a single Parent class or Base class >
}
Object Oriented Programming HEIRARCHIAL
15. 1
2
3
4
5
6
7
8
9
10
11
12
13
14
05 { [CLASS TEMPLATE-QUEUE]
< Class templates are useful when a
class defines something that is
independent of the data type. Can be
useful for classes like LinkedList,
BinaryTree, Stack, Queue, Array, etc. >
}
Object Oriented Programming QUEUE