Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Inheritance-R.D.Sivakumar

307 views

Published on

Inheritance-R.D.Sivakumar

Published in: Education
  • Be the first to comment

  • Be the first to like this

Inheritance-R.D.Sivakumar

  1. 1. INHERITANCE Video Lecture and e- content developed by K.YOGESWARI, M.Com. (CA) Ayya Nadar Janaki Ammal College, Sivakasi – 626 124 And R.D.SIVAKUMAR, M.Sc.,M.Phil.,M.Tech., Assistant Professor of Computer Science & Assistant Professor and Head, Department of M.Com.(CA), Ayya Nadar Janaki Ammal College, Sivakasi – 626 124. Mobile: 099440-42243 e-mail : sivamsccsit@gmail.com website: www.rdsivakumar.blogspot.in
  2. 2. 9.5 TYPES OF INHERITANCE Classes can be derived from classes that are themselves derived. There are different types of inheritance., Single Inheritance Multiple inheritance Multilevel inheritance Hybrid inheritance Hierarchical inheritance. Single Inheritance When a derived class inherits only from one base class, it is known as single inheritance
  3. 3. 9.5 TYPES OF INHERITANCE Multiple Inheritance When a derived class inherits from multiple base classes it is known as multiple inheritance Multilevel Inheritance The transitive nature of inheritance is reflected by this form of inheritance. When a class is derived from a class which is a derived class itself – then this is referred to as multilevel inheritance
  4. 4. THANK YOU...!!

×