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 int parse in c#?
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge
What are partial classes and use of partial classes?
What is datagridview in c#?
Define an abstract class?
What is yield c#?
What is reflection in c#?
What are access modifiers in c#?
What is the default modifier for class in c#?
What is data adapter in c#?
How long does it take to learn c# for unity?
Describe ways of cleaning up objects in c#.
Can we make a Static Constructor Parameterized? Give Reason with your answer
What is datareader c#?
How to block a class from being inherited further?