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
What tool we have to use to install assembli in gac folder.
Do vs while c#?
How do I open the console window?
What is sqlcommandbuilder c#?
What are the examples of data types?
What is the difference between list and ilist in c#?
What is a console operator?
How do I create a new form in c#?
What is difference between managed and unmanaged code?
What is an array of arrays called?
what are windows services?
How do we achieve encapsulation in c#?
How many types of collections are there in c#?
What is the purpose of c#?
How to create events for a control? What is custom events? How to create it?