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
explain Garbage collector’s functionality on unmanaged code
What are partial types in c#?
What is data annotation in c#?
Why do we need properties in c#?
Explain the difference between a sub and a function in c#.
What is poco c#?
What is extension method in c# and how to use them?
What is the usage of transponders?
Can you prevent a class from being instantiated?
what is the difference between convert.tostring() and tostring() functions ?
how to stored and retrive video in Sql server using asp.net c#......?
Why should I use interface in c#?
Why do we use ienumerable in c#?
What is meant by unicode characters?
What are the desktop applications?