Answer Posted / kanchan kora
A class which restricts inheritance for security region is
called Sealed class.
Sealed class is the last class in hierarchy.
Sealed class can be a derived class but can't be a base class.
To access the members of sealed class we should create the
instance object.
Advantages of sealed class is it restrict the third party
vendor for developing new software by inheriting from our logic.
Is This Answer Correct ? | 50 Yes | 9 No |
Post New Answer View All Answers
What is a streamwriter in c#?
Can we inherit class that contains only one private constructor?
What is the difference between ref & out parameters in c#?
What is the namespcae generally given to the webpage of the .NET Framework ?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
What is anonymous types in c#?
What is type safe code?
Can abstract class have constructor?
What is the difference between static class and abstract class in c#?
What is cookies c#?
Will the following code compile and run?
Define clr in .net?
What is difference between ienumerable and enumerable in c#?
Explain the Abstract class in c#.net
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?