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