GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  Microsoft.NET
Go To First  |  Previous Question  |  Next Question 
 Microsoft.NET  |  Question 15 of 38    Print  
How different are interface and abstract class in .Net?

  
Total Answers and Comments: 4 Last Update: March 27, 2007     Asked by: Prasad 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 25, 2006 07:03:26   #1  
saravan_btech Member Since: April 2006   Contribution: 6    

RE: How different are interface and abstract class in ...
overrides in interface overridiable in abstract class
 
Is this answer useful? Yes | No
June 17, 2006 06:46:41   #2  
tukuna Member Since: June 2006   Contribution: 2    

How different are interface and abstract class in ...
when a class is not provided with full functionalitythen it is declared as abstract.it doesn't support instance creation as well as it cannot be overridable to child class.interface is a colection of methods only without functionality.interface is 90 same as abstract class.
 
Is this answer useful? Yes | No
January 06, 2007 10:38:50   #3  
Purushotam        

RE: How different are interface and abstract class in ...

Interface provides no implementation but only contract where as abstract can provide implementation and contract both.


 
Is this answer useful? Yes | No
March 27, 2007 09:51:04   #4  
nehal        

RE: How different are interface and abstract class in ...
1. Abstract class can have method with implementation interface can only have method definitions
2. You can inherit multiple interface but cannot inherit multiple abstract class

 
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