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
Do extension methods have to be static?
What is the difference between IEnumerator and IEnumerable?
What is difference between string and string builder?
What is the difference between constant and readonly in c#?
Explain the security with aop?
Why c# is called c sharp?
Why ienumerable is used in c#?
What is difference between ienumerable and enumerable in c#?
What do you understand by 'access specifiers' in C#?
What is a Jagged Array in C#?
What are the different types of constructors?
i want the csharp questions&answeres
What is a method c#?
What is difference between a constant and read-only in C#?
What is the difference between func and action delegate?