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
What happens if the inherited interfaces have conflicting method names?
What is the difference between paramaterized constructor and copy constructor?
What is the difference between structure and class in c#?
How do you convert byte array to hexadecimal string, and vice versa?
Explain acid rule of thumb for transactions in c#.
How do I register my code for use by classic com clients?
Define delegation in .net?
What is the extension of c# file?
In which format you can pass the value in the sleep function?
Explain the differences between static, void and public in c#?
What is lazy loading c#?
Is null == null c#?
What is the relation between classes and objects?
What is generic delegate in c#?
What is thread life cycle in c#?