Difference between abstract class and interface
Answer Posted / maneswari
Interfaces provide a form of multiple inheritance. A class
can extend only one other class.
Interfaces are limited to public methods and constants with
no implementation. Abstract classes can have a partial
implementation, protected parts, static methods, etc.
A Class may implement several interfaces. But in case of
abstract class, a class may extend only one abstract class.
Interfaces are slow as it requires extra indirection to to
find corresponding method in in the actual class. Abstract
classes are fast.
Is This Answer Correct ? | 439 Yes | 93 No |
Post New Answer View All Answers
Define the mesi? : Dot net architecture
What is the importance of updatepanel control?
Which software is used for .net programming?
What is the purpose of cache? : Dot net architecture
What is a service class?
Describe the Managed Execution Process in .NET?
Define dma? : Dot net architecture
What are the major differences between services and web services?
What is gui programming? : .NET Architecture
Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
Tell me .net mobile emulators? : Microsoft dot net mobile
How do I write to the application configuration file at runtime?
The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.
What is .net mobile images control. : Microsoft dot net mobile
Define an interrupt? : Dot net architecture