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 textview control of .net mobile? : Microsoft dot net mobile
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
I want to create a project like google maps how can we do that with atlas?
Explain about generation?
What is .net mobile lists. : Microsoft dot net mobile
Explain is development of a mobile web application with asp.net is very easy? : Microsoft dot net mobile
What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile
What are relation objects in dataset?
I can't be bothered with cas. Can I turn it off?
data types used in validation control
What is the use of web.config?
Explain difference between machine config vs. Web config : Dot net architecture
Explain cache memory? : .NET Architecture
What size is a .net object?
What are the different pipelining hazards? : Dot net architecture