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
what is tracing? Where it used?
What are different types that a variable can be defined and their scopes ?
hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays
define cache memory? : Dot net architecture
What is the use of web.config?
Explain about metadata?
Define pipelining? : Dot net architecture
data types used in validation control
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?
Define cache? : Dot net architecture
What is the .net class that allows the retrieval of a data element using a unique key?
Explain cache memory? : .NET Architecture
Define a managed code? : Dot net architecture
what is the difference between master page and content page?
What is a service contract, operation contract and data contract?