Sealed class can be declared as abstract - Csharp.Net
Q. Choose the correct one
1) Sealed class can be declared as abstract
2) Abstract class cannot be declared as abstract
3) Abstract class can be declared as abstract
- Published on 31 Aug 15a. Only 1
b. Only 2
c. Only 1 & 2
d. All of the above
ANSWER: Only 1
If you declare any class as a sealed class then this class cannot be inherited. A sealed class cannot be used as a base class. So, it cannot also be an abstract class.