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
What is the difference between abstract and virtual?
How do I do a case-insensitive string comparison?
What are the advantages of using assemble language programming?
What are the types of class in c#?
Can you specify nested classes as partial classes?
What is a generic c#?
Define constructor in c#.
How to implement an object pool in c#.net.
Define Abstract Class in C#
What is a multicast c# delegate?
What are delegates?
What is delegate in c#?
What is the do while loop code?
What is a interface in c#?
What does async mean in c#?