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
Explain hard disk and what is its purpose? : Dot net architecture
What is an interrupt? : Dot net architecture
Explain about common language infrastructure?
Explain difference between machine config vs. Web config? : .NET Architecture
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
Explain Singleton design pattern in .net
Is .net easier than java?
What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile
Explain about developer benefit from memory management?
define cache memory? : Dot net architecture
What are the new features of .net 2.0?
Can you explain atlasuiglitz library?
How can we integrate atlas with web services?
What is .net mobile utility controls. : Microsoft dot net mobile