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
What is .net mobile input validation. : Microsoft dot net mobile
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
what are constructors and destructors?
Is dim fs as filestreamobject is a managed code? : Dot net architecture
How can implement drag and drop using atlas?
Explain about .net garbage collector?
Explain write back and write through caches? : Dot net architecture
What is the difference between primary & secondary storage device? : Dot net architecture
Define cache coherency? : Dot net architecture
What is application frame host?
What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile
how to use custom field validation
How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts
Explain the purpose of cache? How is it used? : .NET Architecture
Explain the race around condition? How can it be overcome? : Dot net architecture