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
Is c# an array?
What is a dictionary in c#?
What is iqueryable in linq?
What is a statement c#?
Is xml tags are case sensitive?
Why do we need generics in c#?
What is the difference between dll and lib?
Can hashtable have duplicate keys?
Please write a program to display “welcome to bestinterviewquestion.com” in c#?
Which sorting algorithm is best?
What is byte c#?
What does using do in c#?
How to put assembly in gac?
Which is the best language for desktop application?
What is a partial class. Give an example?