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 difference between l1 and l2 cache? : Dot net architecture
difference between Response.write,server.transfer and also which one is used when ?
Explain the types of memory management? : Dot net architecture
How do I stop a thread?
How to upload in video,mp4,in .net 4.5 ..?
How cache coherency is eliminated? : Dot net architecture
Explain the race around condition? How can it be overcome? : Dot net architecture
Can I create my own permission set?
What is MS chart control in visual studio?
Explain cache memory? : .NET Architecture
Explain hard disk and what is its purpose? : Dot net architecture
i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?
How cache is used? : Dot net architecture
Explain write back and write through caches? : .NET Architecture
how to create applications by using Visual Studio 2012?