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  >  Microsoft  >  ASP.NET 2.0

 Print  |  
Question:  What is diff. between abstract class and an interface? * What is shadowing? * Diff between Overriding and overloading



December 12, 2005 15:37:07 #9
 JT   Member Since: Visitor    Total Comments: N/A 

RE: What is diff. between abstract class and an interf...
 
I beg to differ with you on the purest definition of an interface. You claim that an interface in not a class based on the fact that in .NET you use the interface key word to define it however this is a very common misconception.An Interface is a class but it is a very special type of class. It is an abstract base class with no implementation such that all of its members are public and pure. Pure meaning no implementation. This goes all the way back to COM.
     

 

Back To Question