Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 637 Bytes

File metadata and controls

31 lines (16 loc) · 637 Bytes

Inheritence

A derived class can inherit members of the base class with its own members

Inheritence Example

Types of Inheritence

Types of Inheritence

1. Single inheritance

Single child of a single parent

Single Level Inheritence

2. Multiple inheritance

Multiple Inheritence

3. Hierarchical inheritance

Hierarchical Inheritence

4. Multilevel inheritance

Multi Level Inheritence

5. Hybrid inheritance

Hybrid Inheritence