Difference between abstract class and interface
Answer Posted / chetan s
1. Interface comes in Inheritance chain while Abstract not
2. One class can inherit muliple interface but it can't
inerit mulitple abstract class
3. Abstract class can have concert method but interface
can't.
4.An abstract class can contain fields, constructors, or
destructors and implement properties. An interface can not
contain fields, constructors, or destructors and it has
only the property's signature but no implementation.
5.Abstract classes are faster than interfaces.
| Is This Answer Correct ? | 108 Yes | 41 No |
Post New Answer View All Answers
how to change the title of my window?
Explain the use of virtual, sealed, override, and abstract.
Explain what does the term "green architecture" mean? : Dot net architecture
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
What is difference between .net and visual studio?
what is the method while we are using adapter and dataset ?
Explain
How to prevent my .NET DLL to be decompiled?
What is application frame host?
What is .net mobile forms? : Microsoft dot net mobile
What is Object Caching in Visual Studio 2010?
What is the cli? Is it the same as the clr?
what are constructors and destructors?
How do I stop a thread?
server.transfer limitation ?