Explain the Inheritance Principle

Inheritance is the process by which one object acquires the properties of another object.

Showing Answers 1 - 21 of 21 Answers

priya

  • Sep 11th, 2005
 

one  class is derived from an base class is called as inheritance

  Was this answer useful?  Yes

pinak

  • Sep 27th, 2005
 

inheritance is property of oop with help of that you can access methods of other class with help of object of other class.

  Was this answer useful?  Yes

Rahul Dhadphale

  • Dec 1st, 2005
 

Inheritance is the process of basing one class on another. In this process, a base class provides methods, properties, and other members to a derived class. The advantage of inheritance is that you can write and maintain code once it is in the base class and reuse it over and over in the derived classes

  Was this answer useful?  Yes

chash27

  • Dec 26th, 2005
 

Inheritance is the process by which one object acquires the properties of another object.

i think this is the perfect answer.

  Was this answer useful?  Yes

Manoj Narwal

  • Jan 12th, 2006
 

Inheritance is oop concept,where we create a new class called derivered class from a exist class class base class.

                           A derive calss can inherit all proerties of base class or it has its own proprties.Main advantage of Inheritance is reusebility.

  Was this answer useful?  Yes

killing time

  • Jun 14th, 2007
 

What you got from others is known as Inheritance. Inheritance is like share
properties between the Classes.


For instance, a "fruit" is a generalization of "apple", "orange", "mango" and
many others. One can consider fruit to be an abstraction of apple, orange, etc.


Conversely, since apples are fruit (i.e., an apple is-a fruit), apples may
naturally inherit all the properties common to all fruit, such as being a fleshy
container for the seed of a plant.

  Was this answer useful?  Yes

preetib

  • Jul 26th, 2007
 

Inheritance is the main concept of object oriented programming language.. Inheritance means object of one class aquire the properties of another class.that's the base class is known as parent class and the secondary class is known as child class and child class can have some or all the functionality of parent class

  Was this answer useful?  Yes

jdoe123

  • Aug 6th, 2007
 

Inheritance involves building upon an existing class so that additional or more-specialised functionality is added.
A key design aspect of inheritance is that it is used in a manner which is understandable and supported by a clear, justifiable relationship.

  Was this answer useful?  Yes

goksn

  • Sep 9th, 2009
 

Inheritance is one of the important principles of OOP.

Inheritance is the process by which one object acquires the properties of another object.

By use of Inheritance , an object need only define those qualities that make it unique within its class.It can inherit its general attributes from its parent.

If a given class encapsulates some attributes, then any subclass will have the same attributes plus any that it adds as part of its specialization.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions