0
What are sealed modifiers
What are sealed modifiers

The sealed classes are used to restrict the users from inheriting the class. Any class can be sealed by using the sealed keyword.When we use the sealed keyword with a method or class as an access modifier, the keyword tells the compiler that it is a method or class seal, and therefore, cannot be extended. No any class can be derived from a sealed class.
