What is the difference between Abstract and Interface?
Answer Posted / shiba shankar
1.In abstact class there may or may not have abstract
method.If there is one abstract method that must be a
abstract class.In interface the methods are bydefault
static and final.
2.Once we make abstract class means that's to be
extended.And the interface to be imlemented by making a
class.Through interface we can overcome the
multipleinheritance.
| Is This Answer Correct ? | 17 Yes | 11 No |
Post New Answer View All Answers
What is a helper method in c#?
Why do we need dependency injection in c#?
How does array sort work?
What are the different types of constructors in c#?
What is a static property. Give an example?
Define Virtual folder?
What is the difference between gettype and typeof in c#?
What is new method in c#?
Explain how to implement delegates in c#.net
what is IFormatable
What is sqlconnection in c#?
Are there functions in c#?
What Is The Smallest Unit Of Execution In .net?
Give examples for reference types?
Why singleton pattern is used in c#?