what is the difference between interface and abstraction?
Answer Posted / anshul jain
An interface cannot provide any code, just the signature.
An abstract class can provide complete, default code and/or just the details that have to be overridden.
An interface cannot have access modifiers for the subs, functions, properties etc everything is assumed as public
An abstract class can contain access modifiers for the subs, functions, properties
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Write the syntax for catching an exception in c#?
When should we use delegates in c#?
Why cannot you specify the accessibility modifier for methods inside the interface?
Is 0 an unsigned integer?
If you want to write your own dot net language, what steps you will u take care?
What is assembly version series sequence?
Explain About .NET Remoting and types of remoting
What is an interface class? Give one example of it
What basic steps are needed to display a simple report in crystal?
what is the purpose of using statement in c#
What does .length do in c#?
Can struct have constructor c#?
How C# 4.0 supports dynamic programming language?
Why singleton class is sealed in c#?
What is the difference between internal and private in c#?