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


Please Help Members By Posting Answers For Below Questions

Does application frame need host?

509


How cache coherency is eliminated? : Dot net architecture

526


Explain cache memory? : Dot net architecture

548


Does .NET runtime offer Deterministic Destruction or not?

609


Explain element .net mobile with example? : Microsoft dot net mobile

513






Explain about appdomains?

619


Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile

471


how to add list of items in a web application and win application?

1609


Explain .net mobile input controls? : Microsoft dot net mobile

494


What is Com Callable wrapper?when it will created?

545


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

1556


Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?

556


What is .net mobile automatic paging? : Microsoft dot net mobile

595


What is the difference between machine config vs. Web config : Dot net architecture

504


How can I create a application?

537