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 lazy t?
How many constructors can a class have in c#?
How to rotate an Image in C#?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
How do I join one form to another in c#?
What is the difference between proc. Sent by val and by sub?
Explain the differences between static, void and public in c#?
How do I unload an assembly?
Is c# easier than javascript?
What is value c#?
What is poco c#?
Does c# support try-catch-finally blocks?
What is a dictionary in c#?
What are the steps to create an assembly and add it to the gac?
What is the CTS, and how does it relate to the CLS?