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
Can you see a loop recorder?
What is gridview c#?
Does c# support multiple inheritance (mi)?
What is the difference between firstordefault and first?
Will the following code compile?
Is c# an open source?
What is a class c#?
Is c# good for web development?
How big is a float?
What does xpath return?
Define c# delegate?
What is yield in c#?
Is c# a strongly-typed language?
What is the resgen.exe tool used for?
What is polymorphism and its types in c#?