Page 2 of 2 FirstFirst 12
Results 21 to 27 of 27

Thread: Types of Inheritance

  1. #21
    Junior Member
    Join Date
    Apr 2009
    Answers
    1

    Re: Types of Inheritance

    There are two types:
    1.Single Inherritance.
    2.multiple Inherritance.


  2. #22
    Junior Member
    Join Date
    Apr 2009
    Answers
    3

    Re: Types of Inheritance

    difference between multiple and multi level inhearitance


  3. #23
    Junior Member
    Join Date
    May 2009
    Answers
    1

    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


  4. #24
    Junior Member
    Join Date
    May 2009
    Answers
    2

    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


  5. #25
    Junior Member
    Join Date
    May 2009
    Answers
    2

    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


  6. #26
    Junior Member
    Join Date
    Apr 2009
    Answers
    1

    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


  7. #27

    Re: Types of Inheritance

    only two types,one base,one derived and one base and multiple derived


Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact