OOPs Concepts Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 5162 Page Views: 

What is Inheritance?



Posted By: Avi Date: 29 August 2009 06:52:23 PM
 Answer:

In OOPs terminology, inheritance is a way to form new classes using classes that have already been defined. Inheritance is intended to help reuse existing code with little or no modification. The new classes, known as derived classes, inherit attributes and behavior of the pre-existing classes, which are referred to as base classes.


Posted By: eTechPlanet


Date: 29 August 2009 06:52:23 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image n0vHqp
Related Questions
OOPs Concepts : What is difference between overloading and overriding?

What is difference between overloading and overriding?

Having same name methods with different parameters is called overloading, while having same name and....
Category: OOPs Concepts Date: 7/3/2010 1:53:22 PM
OOPs Concepts : What do you mean by Object Slicing?

What do you mean by Object Slicing?

When a derived class object is assigned to a base class, only the base class's part of content in th....
Category: OOPs Concepts Date: 10/8/2009 2:55:39 AM
OOPs Concepts : Give some examples of programming languages which support object oriented characteristics?

Give some examples of programming languages which support object oriented characteristics?

Some of the programming languages which support object oriented characteristics are ABAP, C++, Perl,....
Category: OOPs Concepts Date: 10/7/2009 6:41:12 AM
OOPs Concepts : What is object oriented programming language?

What is object oriented programming language?

Object oriented programming language allows concepts such as abstraction, modularity, encapsulation,....
Category: OOPs Concepts Date: 10/7/2009 6:35:57 AM
OOPs Concepts : What is message passing in object oriented programming?

What is message passing in object oriented programming?

Message passing is a method by which an object sends data to another object or requests other object....
Category: OOPs Concepts Date: 10/7/2009 6:30:57 AM