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 Inheritance, Multiple Inheritance, Shared and
Repeatable Inheritance?

Answer Posted / vidhya alphonse

Inheritence is defined as the mechanism of deriving a new
class from an already existing class.The class from which
new class derived is called parent or bae class and the
derived one is called derived class.The new derived class
will have the characteristics of its own and the base class.
The main purpose of using inhertence concept is that
nothing but the reusability of code.Muliple inheritence
means deriving a new class from one or more base class.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are two types of polymorphism?

1011


Can bst contain duplicates?

1140


What is byval and byref? What are differences between them?

2147


What do you mean by Encapsulation?

1014


Why multiple inheritance is not allowed?

1071


Why we use classes in oop?

974


Why do we use polymorphism?

1006


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

2282


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2322


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

2144


What is the renewal class?

2682


What is meant by oops concept?

986


State what is encapsulation and friend function?

1188


What is encapsulation c#?

1012


What are the benefits of interface?

991