Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Types of Inheritance

This is a discussion on Types of Inheritance within the OOPS forums, part of the Software Development category; There are two types: 1.Single Inherritance. 2.multiple Inherritance....

Go Back   Geeks Talk > Software Development > OOPS
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

OOPS Object-Oriented Programming Concepts

Reply

 

LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 04-06-2009
Junior Member
 
Join Date: Apr 2009
Location: varansi
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
SONU Jaiswal is on a distinguished road
Re: Types of Inheritance

There are two types:
1.Single Inherritance.
2.multiple Inherritance.
Reply With Quote
Sponsored Links
  #22 (permalink)  
Old 04-09-2009
Junior Member
 
Join Date: Apr 2009
Location: pakistan
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
sehrishmalik is on a distinguished road
Re: Types of Inheritance

difference between multiple and multi level inhearitance
Reply With Quote
  #23 (permalink)  
Old 05-01-2009
Junior Member
 
Join Date: May 2009
Location: haryana
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
middha is on a distinguished road
Smile Re: Types of Inheritance

Quote:
Originally Posted by scott View Post
I know basic concepts of Inheritance. But I want to know is there any types of inheritance? If so how many types are available and what are they. Can someone brief me on this.
ya hope u no some basic of inheritence .but as i got this prob so i would like to explain it inheritence is the main feature of oops can be say that its the advantage of oops as compared to c++ .as u asked about the type then there are 5 types of inheritence in oops
1 single level
2 multilevel
3 multiple
4 hybrid
5 hierachial
Reply With Quote
  #24 (permalink)  
Old 05-11-2009
Junior Member
 
Join Date: May 2009
Location: Kolhapur
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mhaskar.amit is on a distinguished road
Re: Types of Inheritance

yes their are 4 types of inheritance in OOPS Singal, Multiple,Multilevel,Heirarchical. Single Inheritance is a simple one between two classes. If there are 3 classes 2 child and a parent then it is Multiple. If first class is ingherited by second and second by third then it is Multilevel, and last as name suggests it is heirarchical Inheritance.
If you you want anything else thne go ahead
Reply With Quote
  #25 (permalink)  
Old 05-11-2009
Junior Member
 
Join Date: May 2009
Location: Kolhapur
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mhaskar.amit is on a distinguished road
Re: Types of Inheritance

Multiple Inheritance has one parent class , which may have number of child classes.
Multilevel Inheritace may have number of childs and parents also.
if anything else then go ahead
Reply With Quote
  #26 (permalink)  
Old 05-12-2009
Junior Member
 
Join Date: Apr 2009
Location: india
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
jaspreet17 is on a distinguished road
Thumbs up Re: Types of Inheritance

hello dear


there are five types of inheritance.
1.single inheritance
2.multiple inheritance
3.multilevel inheritance
4.hierarchical inheritance
5.hbrid inheritance
Reply With Quote
  #27 (permalink)  
Old 08-09-2009
Junior Member
 
Join Date: Aug 2009
Location: india
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
murali_yerukola is on a distinguished road
Re: Types of Inheritance

only two types,one base,one derived and one base and multiple derived
Reply With Quote
Reply

  Geeks Talk > Software Development > OOPS

« Oops | Interface »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Types of Processing Times blenda Windows 2 10-13-2008 10:26 AM
File Types in Linux Bessie Unix/Linux 2 04-25-2007 06:19 AM
Triggers Types scott SQL 1 07-30-2006 07:18 PM
Types of JDBC Deriver Managers timmy Java 1 07-17-2006 05:12 PM


All times are GMT -4. The time now is 06:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved