Sealed class cannot be inherited and sealed method in C# programming cannot be overridden. If we need to stop a method to be overridden or further extension of a class in inheritance hierarchy, we need to use Sealed method and Sealed class respectively in C# object oriented programming.
No comments :
Post a Comment