Difference between abstract class and interface
Answer Posted / sumit gupta
the basic logical difference is you create abstract class when there is a relation between two classes that will inherit the abstract class and you create interface for the classes which are not related to each other but do have some common functionality.
below link describes it quite nicely.
http://devworkexperience.com/2011/09/interfaces-vs-abstract-classes/
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the types of memory management? : Dot net architecture
how to delete the record using data reader
Explain the purpose of cache? How is it used? : .NET Architecture
What is .net mobile images control. : Microsoft dot net mobile
what is polymorphism and advantage ?
Explain the five stages in a dlx pipeline? : .NET Architecture
inprocess vs out process session state : Dot net architecture
Differences between VS 2005, 2008 and 2010 ?
Explain the difference between primary & secondary storage device? : .NET Architecture
Explain difference between machine config vs. Web config? : .NET Architecture
What are public and private assemblies ?
can u give me real example of how web.config overrides the machine.config file?
What is Object Caching in Visual Studio 2010?
What is one way operation?
What are the options provived by vss to the user? how it will help us while delevoping application?