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
Explain about accessibility modifier 'protected internal'?
What is the difference between serialization and deserialization in c#?
Can constructor be protected in c#?
What is multidimensional array in c#?
Can we call server-side code (c# or vb.net code) from javascript?
Explain about CTS?
What is boxing? Explain its functionality?
Can abstract class be instantiated c#?
What is dll file in c#?
What is the use of tryparse in c#?
What is a c# delegate?
What is difference between il and dll ?
Are private members inherited in c#?
What is the use of functional interface?
Explain concurrency with aop?