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
Define cache coherency? : Dot net architecture
What is the difference between absolute expiration and sliding-time expiration?
Can you Explain
What is msil, and why should my developers need an appreciation of it if at all?
Explain about metadata?
Explain the five stages in a dlx pipeline? : .NET Architecture
What is .net viewstate?
What is cache coherency and how is it eliminated? : .NET Architecture
server.transfer limitation ?
What is a managed code? : Dot net architecture
question related to table havi colspan and row span
What is Video Streaming in .net??
What is the mesi? : Dot net architecture
What is Object Caching in Visual Studio 2010?
what are constructors and destructors?