What is the difference between Abstract and Interface?
Answer Posted / vanam santhosh
1.All the methods declared in interface are abstact whare
as Abstract must have atleast one abstact and others may
Concrete methods.
2.In abstact class Keyword is abstract must be used for the
methods.In Interface need not use the Keywords.
3.Abstact class must have subclass. where ads in Interfcs
need not have subclass.
4.In Abstarct class can extend only one class.where as in
Interface we can extend more than One Interface
| Is This Answer Correct ? | 28 Yes | 16 No |
Post New Answer View All Answers
Explain About Global.asax
Explain the difference between Metadata and Manifest
What is readline library?
what is IComparable
Can we inherit sealed class in c#?
Explain “static” keyword in c#?
What do u mean by delegation of authority?
How many types of collections are there in c#?
What is the purpose of a console table?
Which language is used for desktop application?
What is the file extension for c#?
Can a class or a struct have multiple constructors?
What is difference between out and ref in c#?
Explain the 3 types of properties in c# with an example?
Is list ienumerable c#?