GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 402 of 436    Print  
inheritance
what is the importance of inheritance in c# and why i used?


  
Total Answers and Comments: 3 Last Update: January 09, 2009     Asked by: amitbaranwal 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 18, 2007 08:07:30   #1  
NASUH Member Since: December 2007   Contribution: 1    

RE: inheritance

Inheritance is an important object-oriented concept. It allows you to build a hierarchy of related classes and to reuse functionality defined in existing classes.

 
Is this answer useful? Yes | No
May 27, 2008 05:19:28   #2  
nikhilrawat23 Member Since: May 2008   Contribution: 15    

RE: inheritance
basically the main advantage of object orineted approach is code reusabilty which help us to improve performance by using less memory for computation.inharitance provide us code reusabilty by accessing method of base class in the derived class instead of creating same methods again and again.
other thing is we can accomodate changes easily by making change in the method of base class.........
i hope u got my point

 
Is this answer useful? Yes | No
January 09, 2009 09:32:11   #3  
tllprmahesh Member Since: July 2008   Contribution: 1    

inheritance
Classes are inherit from another class. Basically we are using OOPS for reusability so inhertiance means deriving new class from base class it occupies less memory.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape