Difference between abstract class and interface
Answer Posted / ashish gupta
1)Abstract class can have either declaration or definition
of any method,however an interface must declare a method
and it can not define it.
2)An interface makes some sort of contract to its
implementing classes to define all the declared methods
within those classes.
3)A class/subclass should Extend the abstract class while a
class/subclass should Implement the interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is tracing? Where it used?
how to make and display a form without title bar?
Explain difference between machine config vs. Web config? : .NET Architecture
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
How to prevent my .NET DLL to be decompiled?
How do I write to the application configuration file at runtime?
I want to create a project like google maps how can we do that with atlas?
Define cache? : Dot net architecture
What is the use of TPL DATAFLOW?
Explain cache? : .NET Architecture
Name some changes done since version 3.0?
Explain dma? : Dot net architecture
What is .net mobile automatic paging? : Microsoft dot net mobile
what are the events for a form?
Define a managed code? : Dot net architecture