Interview Question
Qus: What is Sealed?
The sealed keyword is used as a modifier declare a class as sealed. Sealed classes are used to restrict the inheritance feature of object oriented programming. Once a class is defined as a sealed class, this class cannot be inherited.
Answers (2)