Interview Questions

When do you absolutely have to declare a class as abstract?

C# Interview Questions and Answers


(Continued from previous question...)

170. When do you absolutely have to declare a class as abstract?

1. When the class itself is inherited from an abstract class, but not all base abstract methods have been overridden.
2. When at least one of the methods in the class is abstract.

(Continued on next question...)

Other Interview Questions