Interview Questions

What is the difference between an interface and abstract class?

C# Interview Questions and Answers


(Continued from previous question...)

148. What is the difference between an interface and abstract class?

In the interface all methods must be abstract; in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which is ok in abstract classes.

(Continued on next question...)

Other Interview Questions