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 activator c#?
write a program to find the biggest palindrome in the given string
What is verbatim string literal in c#?
What is use of singleton class in c#?
What is field in c#?
What is better C# or VB.NET?
What is sqldatareader c#?
Is c# used for any core features of windows vista?
What is difference between mutable and immutable in c#?
What is the difference between properties and indexer in c#?
Why ienumerable is used in c#?
Explain the feature of c# language?
What is concrete method in c#?
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
What do you mean by jagged arrays in c#?