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
Does application frame need host?
How cache coherency is eliminated? : Dot net architecture
Explain cache memory? : Dot net architecture
Does .NET runtime offer Deterministic Destruction or not?
Explain
Explain about appdomains?
Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile
how to add list of items in a web application and win application?
Explain .net mobile input controls? : Microsoft dot net mobile
What is Com Callable wrapper?when it will created?
IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
What is .net mobile automatic paging? : Microsoft dot net mobile
What is the difference between machine config vs. Web config : Dot net architecture
How can I create a application?