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 the basic concept of inheritance?

Answers were Sorted based on User's Feedback



what is the basic concept of inheritance?..

Answer / ashwini bhusari

the concept behind the inheritance is that we can create a
object of another class and getting all the characteristics
of the base class.the class who get characteristic is
called derived class because it is deriving from the base
class.the class from which class is derived is called base
class.so, we can create another class from the existing
one.this is the greatest advantage.

Is This Answer Correct ?    16 Yes 3 No

what is the basic concept of inheritance?..

Answer / sandeep

Inheritance refers to, the object of one class acquires
the properties of object of another class.

Ex: 'robbin' belongs to the catagiry 'flying bird' but it
also belongs to the catagiry of 'bird'.

Thus it refers to,each derived class shares comman
characteristics with the class from which it is derived.

Is This Answer Correct ?    15 Yes 3 No

what is the basic concept of inheritance?..

Answer / prashant

Inheritance is a concept where an object of one class
acquires the properties of another class.

Is This Answer Correct ?    9 Yes 1 No

what is the basic concept of inheritance?..

Answer / walking legend

let us consider a real life example:
in a family we know that some of the parental
charecterstics gets to the new generstion.Similarly,in an
object oriented programming inheritance ia concept of
aquiring the members of the main base class to the derived
class.

Is This Answer Correct ?    7 Yes 1 No

what is the basic concept of inheritance?..

Answer / prasad salpekar

Inheritance basically refers to the characterstics of
a new class which is been aquired by an existing class

Is This Answer Correct ?    3 Yes 0 No

what is the basic concept of inheritance?..

Answer / kalaiselvan

if one class acquires properties of another class is
called inheritance.

Is This Answer Correct ?    4 Yes 2 No

what is the basic concept of inheritance?..

Answer / siva

if one class(called derived) acquires/inherits properties
of another class(base class) is called inheritance.

Is This Answer Correct ?    3 Yes 2 No

what is the basic concept of inheritance?..

Answer / anshu sharma

Hierarchy is used to define more specialized classes based
on a preexisting generalized
class.Example we have VEHICLE class and we can inherit this
class make more specialized
class like CAR, which will add new attributes and use some
existing qualities of the
parent class.Its shows more of a parent-child relationship
.This kind of hierarchy is called
inheritance

Is This Answer Correct ?    1 Yes 1 No

what is the basic concept of inheritance?..

Answer / nitish

Inheritance basically stands to inherit the +ve functions of
predecessor.

Earlier its the main base class to give birth to the further
derived class.
This derived class have the features from in its functioning
from the base class from which it have been derived.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More OOPS Interview Questions

Why we use classes in oop?

0 Answers  


What is the difference between C++ and java?

6 Answers   Atos Origin,


What are the 3 pillars of oop?

0 Answers  


Why and when is a virtual destructor needed?

5 Answers  


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

0 Answers  


What is inheritance and how many types of inheritance?

0 Answers  


Why do we use polymorphism in oops?

0 Answers  


write string class as your own class in java without using any built-in function

0 Answers  


i got a backdoor offer in process global,Bangalore..Can i work with it?

0 Answers  


Which language is pure oop?

0 Answers  


What is extreme programming?

2 Answers  


what is virtual function?

3 Answers  


Categories