Module 8 Flashcards

(5 cards)

1
Q

This is the simplest form of inheritance, where a derived class inherits properties and methods from a single base class.

A

Single inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A derived class can inherit properties and methods from multiple base classes.

A

Multiple inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A derived class inherits properties and methods from a base class, which in turn inherits from another base class.

A

Multilevel inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

IMultiple derived classes inherit properties and methods from a single base class.

A

Hierarchical inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

This is a combination of multiple inheritance and hierarchical inheritance.

A

Hybrid inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly