What?s the difference between an interface and abstract class?
Answer Posted / nikhil
Difference
1. Interface doesn't allow accessibility modifier where as
we can specify accessibility modifier (public, private,
protected) for an abstract class.
2. Interface doesn't provide the implementation of the
members declared. This is not the case with abstract class
3. A class can inherit one and only one abstract class,
where as a class can implement one or more interfaces
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Is php easier than c#?
What is hashtable c#?
How a two-dimensional array declared in C#?
What is an assembly loader?
What is a cshtml file?
What is the execution entry point for a c# console application?
What is the default value of string in c#?
Explain about generics in c#.net?
What is data type c#?
Describe the types of comments in c#?
What is cshtml?
What is the difference between ienumerable and enumerator?
the c# keyword .int. Maps to which .net type?
Explain the three test cases in unit testing?
What is strongly typed view?