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 are the 2 broad classifications of fields in c#?
How can I use .NET components from COM programs?
Is struct object oriented?
What is windows application in c#?
How do you implement thread synchronization in c#?
Is string mutable in c#?
What is the purpose of constructor in c#?
Can derived classes have greater accessibility than their base types?
Is dll a library?
Explain the difference between .net and c#?
Can an exception be thrown from a catch block?
State the top.NET class that everything is derived from?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
Can abstract class have constructor c#?
Is visual c# free?