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
Is functional interface runnable?
What are the benefits of using the aggregate method in linq?
Can you explain template pattern?
Explain the process of abstraction with an example?
What does executescalar return in c#?
Are structs value types or reference types?
What is the class in c#?
What are constants in c#?
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
What is meaning of type safety in c#?
Why do we need to call CG.SupressFinalize?
What is the difference between “out” and “ref” parameters in c#?
Is typeof c#?
How does the lifecycle of Windows services differ from Standard EXE?
What is difference between arraylist and list in c#?