What is Inheritance  Inheritance is one of the important feature of the OOP. Inheritance is the method by which objects of...
Advantages of Inheritance ? Sometimes we need to repeat the code or we need repeat the whole class properties. So It helps...
Why we use Inheritance ? To increase the reusability of the code and to make further usable for another classes. We use th...
How Inheritance can be achieved ? In the inheritance there will be a parent child relationship .There is a class called in...
Types of Inheritance 1.) Single Inheritance 2.) Multiple Inheritance 3.) Hierarchical Inheritance  4.) Multiple Inheritanc...
Get more programming tutorial www.cprogrammings.com
Upcoming SlideShare
Loading in …5
×

Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | inheritance in c++ with example ppt

33,829 views

Published on

Learn about what is inheritance in c++ , inheritance in c++ with example , advantage (Use) of inheritance and for more visit www.cprogrammings.com

2 Comments
12 Likes
Statistics
Notes
No Downloads
Views
Total views
33,829
On SlideShare
0
From Embeds
0
Number of Embeds
136
Actions
Shares
0
Downloads
1,084
Comments
2
Likes
12
Embeds 0
No embeds

No notes for slide

Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | inheritance in c++ with example ppt

  1. 2. What is Inheritance  Inheritance is one of the important feature of the OOP. Inheritance is the method by which objects of one class gets the properties of another class.
  2. 3. Advantages of Inheritance ? Sometimes we need to repeat the code or we need repeat the whole class properties. So It helps in various ways.   1.) It saves memory space. 2.) It saves time. 3.) It will remove frustration. 4.) It increases reliability of the code 5.) It saves the developing and testing efforts.
  3. 4. Why we use Inheritance ? To increase the reusability of the code and to make further usable for another classes. We use the concept of inheritance.
  4. 5. How Inheritance can be achieved ? In the inheritance there will be a parent child relationship .There is a class called in which all the properties are defined and generally, it is refered as a base class.There is also an another class in which is derived from the existing one are known as a derived class.
  5. 6. Types of Inheritance 1.) Single Inheritance 2.) Multiple Inheritance 3.) Hierarchical Inheritance  4.) Multiple Inheritance 5.) Hybrid inheritance
  6. 7. Get more programming tutorial www.cprogrammings.com

×