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
i want the csharp questions&answeres
How can I check the type of an object at runtime?
Difference between a sub and a function in c#.
What are satellite assemblies? How will you get the different language strings?
What is view state c#?
What is response redirect in c#?
Distinguish between a class and struct?
How does dependency injection work c#?
1. Describe page life cycle?
What do you mean by delegates and explain different types of delegates?
Explain the use of Mutex in C#?
What is the difference between convert and parse in c#?
What is a property in c#?
What is the use of static members with example using c#.net.
Can you have more than one namespace in c#?