Difference between abstract class and interface
Answer Posted / saqib khan mca 2009 galgotia g
1>Abstract class can have implementations of some methods
while interface can't have any implementations but
declarations of methods.
2>Abstract class can use various access modifiers while
interface doesn't use any access modifiers.
3>Abstract class doesn't support multiple inheritance while
interface's major use is to implement multiple and hybrid
inheritance.
4>Abstract class can have properties,data members,
constructors,static,const,readonly etc.while interface
doesn't implement these but properties.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how to create applications by using Visual Studio 2012?
what is the difference between running an application with and without debugger?
What does this do? Gacutil /l | find /i "corillian"
Can you explain server controls in atlas?
What is the use of TPL DATAFLOW?
Difference between type constructor and instance constructor?
Explain the types of memory management? : .NET Architecture
Explain a .net mobile example with details? : Microsoft dot net mobile
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 textbox control of .net mobile? : Microsoft dot net mobile
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
What is the application frame host?
What is the purpose of cache? How is it used? : Dot net architecture
Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
server.transfer limitation ?