What is multiple inheritance? Give Example

Answer Posted / palsaniya sadikhasan, meta.

Sorry! Following example is the Multilevel inheritance.
which Post by me.


a class is derived from an existing class in multiple level.
e.g.
class abc
{
int a;
public:
void getdata();
};

class xyz public:abc
{
int b;
public:
void getinput();
}

class pqr public:xyz
{
int c;
public:
void show();
}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 pillars of oop?

674


How is class defined?

588


What is oops in programming?

570


What is the real time example of inheritance?

645


What is the important feature of inheritance?

637






What is encapsulation c#?

602


Why do we use encapsulation in oops?

525


What is pure oop?

599


How do you define social class?

603


What are the 3 principles of oop?

619


Why is abstraction used?

612


What does no cap mean?

592


Is enum a class?

607


Where is pseudocode used?

568


Explain the concepts involved in Object Oriented programming.

642