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 typeof undefined?
What's the difference between a static method and a non static method c#?
Where do I put dll files?
What is the difference between c and c sharp?
Write a program in C# for checking a given number is PRIME or not.
What is difference between ilist and list in c#?
What is the .NET collection class that allows an element to be accessed using a unique key?
Is php better than c#?
Is c# a backend language?
What is the default value of boolean variable?
To allow an element to be accessed using a unique key which .NET collection class is used ?
Is boxing an implicit conversion?
What is array and types of array in c#?
What is the difference between an application domain and a process?
What is the difference between “dispose” and “finalize” variables in c#?