Object-oriented programming (OOPs) Question:
Download Questions PDF

What is Sealed modifiers?

Answer:

Sealed types cannot be inherited & are concrete.
Sealed modifiers can also be applied to instance methods, properties, events & indexes. It can't be applied to static members.

Sealed members are allowed in sealed and non-sealed classes.

Download OOP Interview Questions And Answers PDF

Previous QuestionNext Question
When to use Interface over abstract class?What is Inheritance?