Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | inheritance in c++ with example ppt
Upcoming SlideShare
Loading in...5
×
 

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

on

  • 21,377 views

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

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

Statistics

Views

Total Views
21,377
Views on SlideShare
21,272
Embed Views
105

Actions

Likes
2
Downloads
476
Comments
1

3 Embeds 105

http://rajtutorial.blogspot.in 94
http://rajtutorial.blogspot.com 9
http://www.rajtutorial.blogspot.in 2

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

  •  
  • 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.
  • 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.
  • 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.
  • 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.
  • Types of Inheritance 1.) Single Inheritance 2.) Multiple Inheritance 3.) Hierarchical Inheritance  4.) Multiple Inheritance 5.) Hybrid inheritance
  • Get more programming tutorial www.cprogrammings.com