Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is multiple inheritance? Give Example

Answer Posted / shree

class one
{
int a;
Public void Add();
}

Class Two
{ int b;
Public void Sub();
}

class Three:class one , class two

{
int c;
Public void Mul();
}

In this last class we inherited first two class that is more than one base class so mulptiple inheritance.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain sub-type and sub class? atleast u have differ it into 4 points?

2255


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1138


Give two or more real cenario of virtual function and vertual object

2282


Prepare me a program for the animation of train

2412


What is a null tree?

1077


What is the advantage of oop over procedural language?

1006


What is oops and why we use oops?

988


What is class encapsulation?

1029


What is static in oop?

1024


What is debug class?what is trace class? What differences are between them? With examples.

2131


c++ program to swap the objects of two different classes

2357


Which is not an object oriented programming language?

934


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4804


What is abstraction with example?

1039


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1568