What?s the difference between an interface and abstract class?
Answer Posted / narender reddy soma
Apart from usual differences between class and interface,
An abstract class is abstract in nature meaning - You can
have abstract methods and concrete as well.So what? you can
provide the generic implementation in concrete method and
leave abstract methods to sub class for
customization.Sounds good?
So, being abstract class it can exist as customized
implementation of its sub class.Not alone as it has
abstract method which doesnt have implementation hence
making it incomplete.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why we use get set property in c#?
Why do we need private constructor in c#?
Is c# substring zero based?
How long will it take to learn c#?
What is lock statement in C#?
What is the difference between method and constructor in c#?
What is delegates in c# and uses of delegates?
What is the base class of all classes in c#?
Explain different properties of object oriented systems.
How many variables do you need?
Is array value type in c#?
What is reference c#?
What is generic delegate in c#?
Explain the use of virtual, sealed, override, and abstract method?
What is default value of enum c#?