GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Programming  >  C++
Go To First  |  Previous Question  |  Next Question 
 C++  |  Question 8 of 184    Print  
What do you mean by inheritance?
Inheritance is the process of creating new classes, called derived classes, from existing classes or base classes. The derived class inherits all the capabilities of the base class, but can add embellishments and refinements of its own.
 


  
Total Answers and Comments: 3 Last Update: April 04, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 08, 2005 08:08:47   #1  
vishnu bobade        

RE: What do you mean by inheritance?
Inheritance in C++ 
Recall that inheritance is a means of specifying hierarchical relationships between types 
 
C++ classes¤ can inherit both data and function members¤¤ from other (parent) classes¤ 
 
In addition, they inherit the "is a" relationship so that an object of a class¤ SortedList (which inherits from class¤ List) can be treated as an object of class¤ List in most cases 
 
Terminology: "the child (or derived) class¤ inherits (or is derived from) the parent (or base) class¤." 

 
Is this answer useful? Yes | No
January 17, 2006 04:24:20   #2  
v.chandrusekar        

RE: What do you mean by inheritance? ...
Inheritance is the property by which one class can acquire the properties of objects of another class..
 
Is this answer useful? Yes | No
April 04, 2006 07:36:22   #3  
dngr_dv Member Since: April 2006   Contribution: 3    

RE: What do you mean by inheritance? ...

hi,

Inheritance is the process of creating a new class called derived class from the existing class called base class.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape