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 is a namespace server?
is it possible to access a remote web service Without UDDI?
Why use a singleton instead of static methods?
Is a games console a computer?
What are the types of methods in c#?
what is a static constructor?
What is msil in c#?
Is c# code is managed or unmanaged code?
In how many ways you can overload a method?
What is console readkey in vb net?
What is a satellite assembly in c#?
Is javascript harder than c#?
How is the syntax written to inherit from a class in C#?Give an example ?
What is the use of functional interface?
What is the difference between system.string and system.text.stringbuilder classes?