Results 1 to 3 of 3

Thread: types of Inheritance

  1. #1
    RussellBarnes is offline Senior Member
    Join Date
    Dec 2009
    Posts
    214
    Rep Power
    3

    Default types of Inheritance

    What are the different types of Inheritance in C++?

    I am learning the programming languages C++. Now, I want learn about the inheritance, I know what does inheritance, but would like to know what different types of Inheritance are. Any suggestion would be highly appreciated.

  2. #2
    PetersonClark is offline Senior Member
    Join Date
    Dec 2009
    Posts
    202
    Rep Power
    3

    Default

    1) In my opinion, the Inheritance is the concept which will inherit the properties of one class to a different class. And possibly this is also known as class structure again. The different types of Inheritance are as follows:

    Single class Inheritance:

    It will develop a class from single base class.

    Multilevel Inheritance:

    It has many levels of classes.

    Multiple Inheritances:

    It derives a class from one or more base class.

    Hierarchical Inheritance:

    Assist us to make a baseless for many module and those have more their branches of class.

    Hybrid Inheritance:

    It permits combination of number of inheritances.

  3. #3
    CollinsBrown is offline Senior Member
    Join Date
    Dec 2009
    Posts
    213
    Rep Power
    3

    Default

    2) Inheritance is an important concept in OOPS. And this concept is also used C + + programming language. Inheritance is the theory connecting two or more classes to each other in such a way so that the properties and functions they can be separated. In other words, one class shares the properties of another class.

Similar Threads

  1. Inheritance and Aggregation
    By PetersonClark in forum Programming
    Replies: 2
    Last Post: 02-01-2010, 05:14 PM
  2. Inheritance in C sharp
    By JenkinsReed in forum Software Jargons
    Replies: 1
    Last Post: 01-20-2010, 05:45 PM
  3. Types of RAM
    By Charley Dumas in forum Motherboards & Memory
    Replies: 0
    Last Post: 07-01-2009, 12:12 PM
  4. Flash Actionscript - Inheritance
    By Walker in forum Programming
    Replies: 2
    Last Post: 04-14-2009, 01:13 PM
  5. Bytes of four types
    By leshter in forum General Internet Terms
    Replies: 0
    Last Post: 01-21-2009, 07:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48