Answer: 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.
Not sure what course is right for you?
Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.